Return
Styles:
Pseud0ch
,
Terminal
,
Valhalla
,
NES
,
Geocities
,
Blue Moon
.
Entire thread
Flipping variable
1
Name:
Anonymous
2010-11-05 16:50
if(foo == 0)
foo = 44;
else
foo = 0;
How do I change that into a single line that does the trick using arithmetic?
6
Name:
Anonymous
2010-11-05 18:50
>>4
Readable code is better than difficult to read ternary expressions.
You should feel bad for suggesting that expressions are somehow better than statements in any concrete and practical way.
Newer Posts
Don't change these.
Name:
Email:
Entire Thread
Thread List