do you sometimes sneak that extra "break" in there? out of habit or some irrational fear switch(...){ case 0: { return 2; break; } ... case N: ...}
-
-
Replying to @eigenbom
A while ago I learnt from
@cmuratori to write my cases like so and while I dislike it I find myself constantly doing it: case 1000: { ...code... } break;1 reply 1 retweet 3 likes -
Replying to @grumpygiant @cmuratori
that's ... huh ... kinda symmetrical and nice, but also disgusting
1 reply 0 retweets 5 likes -
Replying to @eigenbom @cmuratori
I know, isn’t it. I hate myself for using it constantly. It just fixes so much scoping shit though. Aaaaaaaargh! I feel dirty every time I look at it.
2 replies 0 retweets 1 like
Replying to @grumpygiant @eigenbom
Taste the grease, Lemongrab!https://www.youtube.com/watch?v=FpElTKzHAd0 …
0 replies
0 retweets
3 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.