Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Programming Patterns I Like. Parent comment
It would be:
if (conditionA && conditionB) { return "A & B" } if (conditionA) { return "A" } else { return "Not A" } return "neither A nor B"
There are no comments on this comment yet.
It would be:
I think this comes from a general dislike of more than one else on an if and a dislike of nesting.