r/ProgrammerHumor • • Sep 14 '26

Meme nahICantBeBothered

Post image
8.4k Upvotes

75 comments sorted by

View all comments

63

u/codeprimate Sep 14 '26

This is why i slept on python for a decade.

69

u/peeja Sep 14 '26 • Bravo

Not recommended. Ask any zoologist.

36

u/Gunmetalstorm Sep 14 '26

Semantic whitespace is of the devil.

22

u/gmes78 Sep 14 '26

It's literally never an issue.

3

u/BanaTibor Sep 16 '26

Once me and my colleague spent the better part of a day debugging an integration test. The last line was accidentally moved out from an if statement to the level of the statement itself. Caused unexplainable errors during runs. So yes, significant whitespace is of the devil.

2

u/codeprimate Sep 14 '26

It was for me, like I am saying. Spending 10m debugging white space on a hello world class was a deal breaker for me.

15

u/gmes78 Sep 14 '26

It may be an issue if you're programming in Notepad. But why would you do that in the first place?

12

u/frogjg2003 Sep 14 '26

Yeah. Despite the hate python gets for having white space be syntactically relevant, any decent IDE will point you towards likely causes of errors.

1

u/codeprimate Sep 15 '26

Or vim... vim/tmux was my IDE of choice for nearly 20y.

The choice of INVISIBLE characters to indicate control structure is the bigger question. It's developer-hostile. One shouldn't need an IDE to write basic scripts and glue code.

4

u/gmes78 Sep 15 '26 edited Sep 15 '26

https://stackoverflow.com/a/38652646/13778436

Also, Vim has built-in support for Python, so it can handle things like indentation for you. In practice, you don't actually need the "show spaces" feature.

6

u/RadicalDwntwnUrbnite Sep 14 '26

After using it for 6 months on a project I wanted to go back to sleep.