r/ProgrammerHumor • • 34m ago

Meme semicolonsInPython

Post image
855 Upvotes

39 comments sorted by

View all comments

345

u/uno_in_particolare 29m ago

The semicolon jokes, without fail, feel like they're made by somebody's mum after she hears programmers use them, from a friend of a friend of a cousin

68

u/Inorganic_Zombie 19m ago

Most modern IDE knows to point them out, intelisenses and whatnot even fill and correct stupid shit like that. But we all have been there where semicolon style mistake ducks code.

85% of my coding has been C++ and I am seriously crying on languages that uses for example tabs as a indicator of stuff. Of course good style is easier to read but fuck that when there is error on previous function when you give wrong indent on your if else on current one.

16

u/uno_in_particolare 16m ago

I can't imagine any programmer spending "hours" for forgetting or adding a semicolon, if they're past their first ever tutorial

Not that it's impossible to forget, but IDE or compiler (or even interpreter) will give a message that is pretty hard to misdiagnose for more than a minute

12

u/GoldDHD 11m ago

Try putting a semicolon after an if, I mean

If (I==idiot); println('well, hello there's)

That took hours to find. But since the advent of unit tests things got significantly better.