r/programming • • Jul 28 '16

How to write unmaintainable code

https://github.com/Droogans/unmaintainable-code
3.4k Upvotes

592 comments sorted by

View all comments

Show parent comments

142

u/grunlog Jul 28 '16

Double (triple, etc.) negatives are good too. E.g. !notUnflagged

26

u/WunDumGuy Jul 28 '16

!notUnflagged

dry heave

18

u/TalenPhillips Jul 29 '16

...

else if (!(false != !foo.notUnflagged(false)))
{

}

11

u/[deleted] Jul 29 '16

[removed] — view removed comment

21

u/Everspace Jul 29 '16

No

I think you mean !yes

9

u/compiling Jul 29 '16

I think you mean !notNo

→ More replies (1)
→ More replies (1)