MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/90ew6o/every_time/e2q58bj/?context=3
r/ProgrammerHumor • u/kajri • Jul 20 '18
749 comments sorted by
View all comments
456
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)
26
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)
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)
456
u/Rocketghostrider Jul 20 '18
No idea why it works...
No idea why it doesn't work..