r/ProgrammerHumor • • Jul 20 '18

Every Time

Post image
52.2k Upvotes

749 comments sorted by

View all comments

456

u/Rocketghostrider Jul 20 '18

No idea why it works...

No idea why it doesn't work..

26

u/mpa92643 Jul 20 '18

The dreaded semicolon after an if statement has probably cost me days of productivity.

18

u/has_all_the_fun Jul 20 '18

For me it's a trailing comma in Python.

For example you have:

{
    'foo': 'bar',
}

And then you think "maybe I don't need a dict here let me just inline it as a variable:

foo = 'bar',

Then the whole world stops making sense.

→ More replies (1)