Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
TylerE
6y ago
0 comments
Save
Share
Because giant codebase that would take effort++++ to do so for no perceived gain, with possible addition of new bugs.
0 comments
5 comments · 2 top-level
top
newest
oldest
mywittyname
6y ago
· 3 in thread
> effort++++
effort += 1 + 1
Ported to Python3 for you.
nxpnsv
6y ago
Clearly c got it wrong. The number of + should have been increment so e->e + 1 should be e+ e+->e+ +1 should be e++ ...
moonchild
6y ago
Correction:
effort = (effort := effort + 1) + 1
pansa2
6y ago
Executable pseudocode!
imtringued
6y ago
That's how we get decades old cobol codebases that nobody understands.
j
/
k
navigate · click thread line to collapse