Deutsch English Français Italiano |
<20240826083330.00004760@gmail.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: John Ames <commodorejohn@gmail.com> Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc Subject: Re: Python (was Re: I did not inhale) Date: Mon, 26 Aug 2024 08:33:30 -0700 Organization: A noiseless patient Spider Lines: 34 Message-ID: <20240826083330.00004760@gmail.com> References: <uu54la$3su5b$6@dont-email.me> <uvbfii$3mom0$1@news.xmission.com> <20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org> <way-20240413091747@ram.dialup.fu-berlin.de> <87il0lldf8.fsf@tudado.org> <choices-20240413123957@ram.dialup.fu-berlin.de> <v9lm2k$12qhv$1@dont-email.me> <v9m4gd$14scu$1@dont-email.me> <20240815182717.189@kylheku.com> <v9npls$1fjus$1@dont-email.me> <v9t204$2dofg$1@dont-email.me> <va28pi$3dldm$1@dont-email.me> <va2ro9$3gd7v$1@dont-email.me> <va2vt0$3h3gj$1@dont-email.me> <va44rh$3p1l6$1@dont-email.me> <va45eq$3pkt9$1@dont-email.me> <va4aut$3q4g0$1@dont-email.me> <va4fbr$3qvij$1@dont-email.me> <va5108$3tmmd$1@dont-email.me> <va51ok$3tqr9$1@dont-email.me> <va5ec2$3vluh$1@dont-email.me> <va6q4g$c1a7$1@dont-email.me> <va6rpa$c6bg$1@dont-email.me> <va6se9$cb8e$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Date: Mon, 26 Aug 2024 17:33:34 +0200 (CEST) Injection-Info: dont-email.me; posting-host="4e9d26d613202949cd593c47dd0f5943"; logging-data="2645330"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19NoUoqj+GQgEoMN/Y2XdKoFiWICKXsd3c=" Cancel-Lock: sha1:2twK/Ztg0YxtJ8CCvaVe1wBS9QU= X-Newsreader: Claws Mail 4.2.0 (GTK 3.24.38; x86_64-w64-mingw32) Bytes: 3353 On Thu, 22 Aug 2024 08:21:29 -0000 (UTC) Muttley@dastardlyhq.com wrote: > >I am a big fan of clear and consistent layout and indentation, which > >is forced on you by Python (and Occam), but I too prefer explicit > >blocking. > > It's harder to get things wrong with explicit blocking, and you > > are > > Indeed. You delete a bracket by mistake and it won't compile, end of. > In Python you can delete a spaces/tabs by mistake and if its at the > end of the block the thing could still run. > > >never faced with space vs. tab conflicts causing semantic changes to > >the code. > > Yes, this is a royal PITA. I use tabs as in vim I can instantly > change the indentation using "set ts=". With spaces its fixed short > of dicking about with macros. All of this. Are there some safeguards in place for the most egregious cases? Yes - but literal whitespace is still a horrendous misfeature, something the world at large has known for so long that it was already an established joke by the time Ed Post was cracking wise about JCL in freakin' _Datamation._ Python is far from the worst language out there - in fact, it's quite usable for a wide variety of applications, in spite of that - but the simple fact that Guido & co. made a boneheaded choice like that is the reason I'll never be able to *respect* it, even when I do find myself using it. There should - plain and simple - *never* be a time where you can end up with unexpected semantic behavior because of settings in your editor-of-choice.