Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on My Favourite Diff. Parent comment
Completely made up switch illustrates how I use it in every language if I can...Go has a succinct version of this.
switch(True) { case ($x == 1): $x++; break; case ($x > 3): $x--; break; default: break; }
Completely made up switch illustrates how I use it in every language if I can...Go has a succinct version of this.