baatliwala@lemmy.world to Programmer Humor@programming.dev · 1 个月前Look at the way he writes for loops too smhlemmy.worldexternal-linkmessage-square40fedilinkarrow-up1449
arrow-up1449external-linkLook at the way he writes for loops too smhlemmy.worldbaatliwala@lemmy.world to Programmer Humor@programming.dev · 1 个月前message-square40fedilink
minus-squareChickenLadyLovesLife@lemmy.worldlinkfedilinkEnglisharrow-up3·1 个月前My favorite: for (int i = myArray.Length; i --> 0; ) { //do something } Perfectly valid in C-style, even if it does look a bit puzzling at first.
minus-squareChickenLadyLovesLife@lemmy.worldlinkfedilinkEnglisharrow-up3·1 个月前From the river to the C
My favorite:
for (int i = myArray.Length; i --> 0; ) { //do something }Perfectly valid in C-style, even if it does look a bit puzzling at first.
That should be a war crime.
From the river to the C