Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Using the switch(true) pattern in JavaScript. Parent comment
I put all my early returns at the top as these are the preconditions for the rest of the code; I don't think that's hard to understand.
There are no comments on this comment yet.
I put all my early returns at the top as these are the preconditions for the rest of the code; I don't think that's hard to understand.