Sujet : Re: Joy of this, Joy of that
De : nospam (at) *nospam* example.net (D)
Groupes : comp.os.linux.miscDate : 26. Nov 2024, 10:12:40
Autres entêtes
Organisation : i2pn2 (i2pn.org)
Message-ID : <eebc5913-6252-d802-c591-f85692dfb1d4@example.net>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
On Mon, 25 Nov 2024,
186282@ud0s4.net wrote:
On 11/25/24 4:56 AM, D wrote:
On Mon, 25 Nov 2024, 186282@ud0s4.net wrote:
On 11/24/24 7:36 PM, Lawrence D'Oliveiro wrote:
On Sun, 24 Nov 2024 19:35:57 -0500, 186282@ud0s4.net wrote:
Do kinda pref "{ }" or "begin end" over the dangling depth thing ...
get six or eight levels into something and it's a total bitch to spot
what's inside what without using comments.
So use the comments. That’s what I do.
Only good way ...
Not a killer, but kinda annoying. The eye doesn't
spot indents nearly was well as hard delimiters.
You can have indents _and_ delimiters for the ultimate in eye spotting capability! ;)
>
As I said to Larry, I almost always use just 2-space
indents so deeply-nested stuff doesn't tend to run
off the page margin. Object langs make this even worse
with all the something.something.something.something
sorts of lines.
>
SOME of the IDEs for Python KINDA help, can spot
nestings fairly well, but I mostly just use nano
in one terminal and do test runs from another.
Something like PyCharm or Visual are kinda overkill
most of the time.
>
I use four, but since worked as a systems administrator (or what today be called "devops") I never wrote any programs large enough, or complicated enough, to run out of line space.
This is what I do not like about power shell. Some of the commands are way too long to type. I like ls, df, du & co! It would be horrible to have to type list_files every time.