Comment

Comment by hacker_9

So happy out variables are finally a thing, removes such a pain point in the language, especially when having to write:

    SomeReallyLongTypeNameICantQuiteRemember data;
    if (dict.TryGetValue(id, out data)) { ... }
Now reduced to:

    if (dict.TryGetValue(id, out var data)) { ... }
parent hacker_9 9 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton