That’s fair! Takes time to get used to. Modern editors make this easier by highlighting the current indent level, or can even make the top X lines of the current closure “stick” to the top of the editor for those really long blocks.
That’s fair! Takes time to get used to. Modern editors make this easier by highlighting the current indent level, or can even make the top X lines of the current closure “stick” to the top of the editor for those really long blocks.
Correct, I linked the source of the quote. My implication is the general idea is applicable here. Is python one of these languages where it is idiomatic to nest code deeply?
Flat is better than nested.
From the python I have seen and written, deep nesting is avoided.
Just curious, what about spaces made it hard? What language would have been easier? In curly brace languages, 99% of the time, a curly brace is followed by a line break and an indent. Python is similar except it’s typically a colon, line break, then indent.
What I have learned is: If the code is indented too deeply, it’s a code problem, not the language.
Torvalds infamously wrote:
“… if you need more than 3 levels of indentation, you’re screwed anyway, and should fix your program.”
Hold down j
and lmk how smooth it is 😅
I mean, it should be clear. Smooth and fast and snappy. If you don’t want that, use neovim like me :)
Modern OSes handle memory management and background tasks. Unless you have something truly malicious running, you’re just getting in your own way by force quitting apps.
https://qz.com/stop-closing-your-iphone-s-background-apps-1851269132
opens htop threateningly
The only reason coders’ computers work better than non-coders’ computers is coders know computers are schizophrenic little children with auto-immune diseases and we don’t beat them when they’re bad.
Well… said?
Oh look, a completely fallacious and divisive comment
Spoiler: they think the horsey is worth it
Idk I can think of a few others…
Edit: I take issue with the ridiculous editorialization in the title. MOST transparent? Of ALL TIME?? What about the Khmer Rouge? The Holocaust? Uighyrs? Not every fucked up atrocity has to be the most impressive of all time to warrant an article…
asyncio.run(easy_peasy())