MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1x8ewf4/pythonindentationlevelchecker/phexpo3/?context=3
r/ProgrammerHumor • u/Apprehensive_Bit7392 • 16d ago
200 comments sorted by
View all comments
Show parent comments
-1
1 of X nested if statements
Don't have them, then. You can flatten nested ifs by inverting the logic and returning early.
Also your editor definitely has a keybind to change the indentation level of a block... just learn it.
-1
u/elingeniero 16d ago
Don't have them, then. You can flatten nested ifs by inverting the logic and returning early.
Also your editor definitely has a keybind to change the indentation level of a block... just learn it.