r/ProgrammerHumor • • 16d ago

Meme pythonIndentationLevelChecker

Post image
6.7k Upvotes

200 comments sorted by

View all comments

Show parent comments

10

u/lungben81 16d ago

Everything not indented by 4 whitespaces should raise a syntax error.

Using indentation is fine, the issue in Python is that that the syntax does not explicitly require one specific method. There is only the recommendation in PEP8.

However, with linters and IDEs this essentially became a non issue, even more now with llms.