Path: csiph.com!weretis.net!feeder9.news.weretis.net!news.nk.ca!rocksolid2!i2pn2.org!.POSTED!not-for-mail From: D Newsgroups: comp.os.linux.misc Subject: Re: Joy of this, Joy of that Date: Wed, 27 Nov 2024 10:12:06 +0100 Organization: i2pn2 (i2pn.org) Message-ID: References: <6iKdnTQOKNh6AqD6nZ2dnZfqn_idnZ2d@earthlink.com> <20241120081039.00006d2a@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323328-2116573338-1732698728=:16130" Injection-Info: i2pn2.org; logging-data="137367"; mail-complaints-to="usenet@i2pn2.org"; posting-account="w/4CleFT0XZ6XfSuRJzIySLIA6ECskkHxKUAYDZM66M"; X-Spam-Checker-Version: SpamAssassin 4.0.0 In-Reply-To: Xref: csiph.com comp.os.linux.misc:61405 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-2116573338-1732698728=:16130 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT On Wed, 27 Nov 2024, 186282@ud0s4.net wrote: > On 11/26/24 4:12 AM, D wrote: >> >> >> 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. > > My last big Python app was about 450 lines of code - and > it had LOTS of option switches (TOO many!). Things got > nested really deep sometimes. > > Shrank that to about 250 lines of Pascal (the re-think > plus leaving out the options even I never used). > >> 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. > > I kinda have to admit, or brag, that I never used PowerShell. > > But yea, shortish generally IS a lot better. Longish is > one reason I hate JS, and then there was COBOL :-) > > Haven't done a COBOL app for a long time ... I'll have > to do something ... found a COBOL IDE of sorts somewhere ... > ah, OpenCobolIDE (a PyPy pgm). > Ahh yes... forgot about javascript. It makes me cry when I see it. =( Note that the 250 lines of pascal could be reduced further to 1 line if you find out the true name of god and use that instead! --8323328-2116573338-1732698728=:16130--