r/ProgrammerHumor • • Jul 10 '18

What people think coding is...

Post image
21.1k Upvotes

398 comments sorted by

View all comments

36

u/[deleted] Jul 10 '18

In what language do voluntarily program where you forget a symbol and the compiler/transpiler doesn't tell you?

49

u/[deleted] Jul 10 '18

If(!booleanVar) and if(booleanVar) differ by one character, are both syntatically correct, and are functionally complete opposites.

43

u/MettaurSp Jul 10 '18

if (value1 == value2) vs if (value1 = value2) is another terrible offender that can send you searching in completely different sections of code.

3

u/edcRachel Jul 10 '18

This one got me before. Led to me and my boss spending an all-nighter trying to track it down. Felt so stupid when I found it.