• 0 Posts
  • 14 Comments
Joined 1Y ago
cake
Cake day: Jul 03, 2023

help-circle
rss

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?

The Zen of Python:

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.”



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?



Weird, I’m like 99% sure epub is supported considering it’s all I download on my stock PW.


And you can hook in fzf to it to get a proper list of previous commands all fuzzy matched!! Oh-my-zsh just requires adding fzf to your plugins list (:

I survived for years with just https://github.com/zsh-users/zsh-autosuggestions which is similarly great, but fills a slightly different role. Just start typing and you’ll see a faded preview of the most recent command matching & u ctrl+f to autocomplete it. Is gr8

e: clarified what zsh-autosuggest does


I don’t know that’s a fair anology. Vim does what a IDE can do without almost any setup with LazyVim and Lunar Vim and a bunch other prebaked setups. Instead of writing your vscode config in JSON or using a GUI, you can use lua. It’s more like turning car into a track car or something where you’re already a mechanic





Are you trolling? If you think of a white person, why would an American, with an entirely different set of experiences and culture not think of something else? How is acknowledging an atrocity by our own government against poor blacks a bad thing? Is the goal of this project to have people use it? If so, they should reconsider the name.