Deutsch   English   Français   Italiano  
<87zfou9926.fsf@nosuchdomain.example.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: Keith Thompson <Keith.S.Thompson+u@gmail.com>
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Python (was Re: I did not inhale)
Date: Thu, 29 Aug 2024 16:57:21 -0700
Organization: None to speak of
Lines: 21
Message-ID: <87zfou9926.fsf@nosuchdomain.example.com>
References: <uu54la$3su5b$6@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>
	<20240826083330.00004760@gmail.com> <vaises$2k7o6$2@dont-email.me>
	<20240826155113.000005ba@gmail.com>
	<wwvo75eicla.fsf@LkoBDZeT.terraraq.uk> <vak9k9$2ujrs$1@dont-email.me>
	<valgpu$34s18$1@dont-email.me>
	<87y14hd4bk.fsf@nosuchdomain.example.com>
	<valnei$35rt8$2@dont-email.me>
	<87ikvlcs7i.fsf@nosuchdomain.example.com>
	<vamclm$3c4ke$1@dont-email.me>
	<87ttf4bdcx.fsf@nosuchdomain.example.com>
	<vaoaak$3l470$3@dont-email.me>
	<875xrkb2iq.fsf@nosuchdomain.example.com>
	<vapnu2$3v4l8$1@dont-email.me> <vaquop$5ioe$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Fri, 30 Aug 2024 01:57:23 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="06fc674f2ef62846f0d6137618397abc";
	logging-data="193463"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/kix81yXdbUeWLzG7lDwyI"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:ayI/V5rVcFhMdzo2XOIezAme7sc=
	sha1:yBLstukdtP22WjDl3mqpwG1Kgvs=
Bytes: 2499

Lawrence D'Oliveiro <ldo@nz.invalid> writes:
[...]
> Think about why you bother to indent code in languages where the compiler 
> ignores such indentation anyway: it means you are expressing the structure 
> of code in two different ways, one via statement brackets, and the other 
> via indentation. This redundancy aids in understanding that the code does 
> what you think it does.
>
> Python gets rid of this redundancy, by having the compiler take notice of 
> the whitespace and removing the statement bracketing symbols. So I put it 
> back, by adding statement bracketing symbols that the compiler ignores.

You might find Bython useful.

https://github.com/mathialo/bython

(I don't, but you might.)

-- 
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */