hoch@lemmy.world to Programmer Humor@lemmy.ml · 2 days agoMore code = more betterlemmy.mlimagemessage-square25fedilinkarrow-up1277arrow-down16
arrow-up1271arrow-down1imageMore code = more betterlemmy.mlhoch@lemmy.world to Programmer Humor@lemmy.ml · 2 days agomessage-square25fedilink
minus-squarepineapple@lemmy.mllinkfedilinkEnglisharrow-up2·2 days agoStill a mess to read though, anyone revewing the code will be like wtf?
minus-squareferric_carcinization@lemmy.mllinkfedilinkEnglisharrow-up1·2 days agoYou could do a lot worse. If the type of i was an object, you could overload the negation operation to have side-effects for the third snippet, for example.
Still a mess to read though, anyone revewing the code will be like wtf?
You could do a lot worse. If the type of
iwas an object, you could overload the negation operation to have side-effects for the third snippet, for example.