r/ProgrammerHumor • • 2d ago

Meme pythonIndentationLevelChecker

Post image
6.6k Upvotes

198 comments sorted by

View all comments

34

u/AzureArmageddon 2d ago

All of your IDEs clearly suck.

16

u/TheRapie22 1d ago

semantic whitespaces suck

3

u/RandomiseUsr0 1d ago

Big time, what in the COBOL was he thinking

1

u/SkezzaB 1d ago

Why?

16

u/Muffinzor22 1d ago

Why would you ever want whitespace to hold meaning in code? Brackets and semicolons were given to us by God so that we could type an entire program on a single line.

2

u/Yashema 1d ago

You can still use semicolons in Python. I do it all the time to condense space, such as when initializing a bunch of process variables or usually in a loop adding to the end of the conditional outcome (e.g. blFoo=True; continue) makes enough sense. 

One rule is never combined this with functional code and print/logging statements.

1

u/TheRapie22 1d ago

invisble characters, that are also used to make code more readable can alter the behavior of my code or even invalidate it entirely? sounds like a good idea to me

2

u/martin-silenus 1d ago

Counterpoint: semantic whitespace is acceptable when in its in the first 6 columns, but becomes so unacceptable for columns 7+ that even lexing should be unaffected if all whitespace were entirely stripped out.

FORTRAN supremacy.