Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on We Are Sorry to Inform You (2005). Parent comment
Doing if(condition) return at the start, before it gets going often reduces indentation and how many branches you need to see at once.
But I can agree sneaky returns can bite you sometimes
There are no comments on this comment yet.
Doing if(condition) return at the start, before it gets going often reduces indentation and how many branches you need to see at once.
But I can agree sneaky returns can bite you sometimes