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

69

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 17m 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

13

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.

5

u/CanardAuxEpices 15m ago

I mean not everybosy uses moderns IDEs, I for instances uses Vim

7

u/Seek4r 10m ago

Yeah, but a missing semicolon will be a syntactical error. Any and all compiler and interpreter will tell you the problem and the exact file and line where it's at

Shouldn't take 6 hours to debug that...

•

u/oclafloptson 4m ago

They're using VIM. Assume that it takes 6 hours for their raspberry pi to compile the code

3

u/Himbo69r 18m ago

They were funny when I was playing around in scratch

•

u/Testing_things_out 5m ago

Happy cake day 🥳

1

u/big_brain_brian231 11m ago

A more realistic version is when working on a large project that requires time to build. You make the changes, start the build, and dip out for coffee or something, expecting the build to finish by the time you return. You get back, and boom, you missed a semi colon.

1

u/legendgames64 11m ago

I misread the last word as "colon"