Damn, I was hoping that was real.
Why do people keep posting (and upvoting) this shit?
It was funny maybe 20 years ago, but it is a solved problem. It does not happen.
I don't understand. I've not used many editors, but every editor I have used does the indents and add commas or semi colons etc. If indention is hard for someone, I don't think programming is for them. It's such a non issue
I used to have more problems with it years ago when free IDEs were scetchy and I did allot of code in notepad.
Now there’s tons of free editors that are decent like text wrangler and visual code studio.
Python with a decent ide avoids this but software that integrates with Python sucks like I used arcgis python editor and it was terrible and I hear similar for Excel
Look, the first year CS students need something to do all summer
It's r/ProgrammerHumor. 90% of the posts are made by either a first-year CS student who wants to join in on the fun or a 40-year-old dad dev who is lost with the times.
I have a few months to go until I'm 40. I also don't have kids but increasingly all of my friends do. Did I miss something in the last few years where we all decided we were mature enough all of a sudden to raise offspring? Because uh, I didn't get that memo at all.
I'm only responsible for a turtle that I'm 100% sure will outlive me.
My family knows if I stop responding to messages, just send the hearse and someone to pick my turtle.
Literally the only language that I've ever had this problem in is Matlab, because the semi-colon at the end of a isn't required it just stops the line from being output. But even then it's just "why has 10000 lines just been printed to the terminal" rather than "why isn’t my code working"
Just bring some memories nothing personal ✌️
What was solved and how? I've been doing Python lately because I had to and it's the absolute worst language I've ever used by any metrics.
identationError or missing semi-colon or any other kind of issues that the use of a modern code editor or IDE will remove from the equation.
It's like they're doing memes from way back when, when the tooling was lacking basic features such as linting and formatting.
If your programming language relies on having a good IDE to become even remotely usable, it is not a good programming language and you should not be using it.
Same thing for typing (or how little of it Python actually has): if your programming language relies on developers having discipline to provide well written libraries instead of enforcing it by default, it is not a good programming language and you should not be using it.
But you answered my question: nothing has been fixed, people just have been adding hacks to work around it.
It doesn’t rely on it but if you don’t indent your code properly it is the same mistake as forgetting to close a bracket. The issue is helped in both cases by having a code editor that highlights it but if you don’t and make the issue it is a skill issue
Except A that no brackets madness is ugly as fuck and B if you forget a bracket, it is almost always quite obvious. Oh, and proper languages also won't compile and you won't have to crash the program to realize you've put an extra-space somewhere.
It is quite obvious if you don't indent things correctly too. Actually if you look at most C/C++ they will do both indentation and obviously the brackets. It will not compile or will crash but Python is literally the same, it is obvious if you mis-indent the code.
Nope, you can quite easily have a block with 3 spaces by mistake. Also, it looks atrocious and doesn't make it as clear when an idea stops. Same for the lack of parenthesis everywhere by the way, actual programming languages have them for a reason, it makes the program more readable.
What a limited mindset you have. Can't see the benefits and drawbacks of each type of language, or comprehend that different people like different styles of programming.
Benefits of each languages is bullshit. No competent developer should accept to work with a language with dynamic typing. Making it easy for beginner developers to produce shit code is not a benefit.
You're angry at everything and everyone, and maybe you should quit being a software engineer and should take up farming or other calming activity that doesn't prompt an uncalled crashout like this.
I'm sure there is a sub-reddit where farmers get angry over the best way to cultivate a radish.
I'm not angry by the way, I'm just stating facts. It's not my fault if people get angry when you point out why their language sucks.
You're stating opinions.
And the way you're stating them ("is bullshit", "no competent developer should", "sucks") feels a tad heated.
You don't have to agree with everyone, but when you act like this, people tend to either assume you're very angry, or just a child that cannot understand different points of view.
I'm assuming you're angry.
Or maybe I just have a better view of the situation and am not so picky about telling truths. I've been doing PHP for 15 years and I have no issue saying that language is a pile of shit too.
This post is about indentation errors. Your reply said that that makes a language unusable despite not being a problem for at least 99% of programmers. Nobody else here has said anything about dynamic typing
How is this post only about indentation errors? It's like one of the least worse things about it.
Maybe not the whole post actually, but to quote the earlier comment:
identationError or missing semi-colon or any other kind of issues that the use of a modern code editor or IDE will remove from the equation.
That earlier comment was totally wrong at assuming that my main point of criticism was about indentation. That's just what makes it ugly as fuck. The terrible typing system is the main course.
This opinion stinks
Skill issue
Bython?
Look closer. And actually, bython is a thing, python with curly braces
"Identation"
🅱️ython
identation
Huh?
Never met this error
There’s a lot of dumb things about python, but syntactic indentation doesn’t make the list imo
Out of all errors that could happen with code, errors that happen before runtime are the kindest.
Django: populate isn't reentrant
This is genuinely like the easiest error to fix
I don't use Python but I did try some GDScript and writing stuff wasn't a problem however copying was as it messes up indentation quite often. In languages with braces you kinda can just click through those and fix indentations easily. In GDScript that was a bit of a pain sometimes.
I think it's a matter of being used to things but I have some fucking problems with seeing indentations - yaml is worth than a death sentence for me lol
The worst error is mixing tab with spaces (e.g. you're editing file using vim with default config)
I feel like if you work with python longer than "python 101 course" you can see the bigger problems with the language. I do not remember the last time I've had an indentation error. But my "days without int object has no attribute myCustomSophisticatedMethod()
" is reset almost daily when I'm writing something in python.
Skill issue
Hello and thank you for posting to r/programmerhumor! You have previously posted two submissions within the past 24 hours so this submission has been removed. If you intend to repost it later we recommend deleting this one first to prevent other bots from removing it as a duplicate.
BOOP! BLEEP! I am a bot. Concerns? Message /r/programmerhumor. Previous post(s): 1m37wbx, 1m384c6 | limit: 2 per 1d | next eligibility: 2025-07-19 17:05 UTC
I'm always going to be flabbergasted and disappointed that a language that DEPENDS on indentation uses spaces. WTF, Guido?
This has happened to me a single digit number of times in the 6 years or so that I have been programming.
Yes, never happened to me but I rarely code in python. Also your indentation should (not must) be correct in other languages too
I think that the issue is, in other languages, indenting is purely a readability thing that a linter takes care automatically most of the time. In python it's a breaking error.
Python is a great language, but after all these years I'm still not a super fan of indenting as a way to structure how your code works.
I do think it's a minor thing though, and probably a matter of taste.
In another language where indentation does not matter the linter still takes care of it, as you said.
Imagine what a linter could do in a language where it does matter, pfewww!
Yea that's generally when I get indentation errors in python. I got complacent by writing TS code however it flowed out of me and letting prettier handle how it looked on save. That doesn't work so well in my experience writing Python
Yea, was going to say, if you find indention hard then maybe try being a PM or something.
Might be a fit for a Scrum Master or Agile Coach, too…
This has only happened once from stackoverflow copied code and a couple of times recently for some copied code from VSCode's Copilot assistant. Non-issue.
You clearly don’t code in vim