Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <87ttf4bdcx.fsf@nosuchdomain.example.com>
Deutsch   English   Français   Italiano  
<87ttf4bdcx.fsf@nosuchdomain.example.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!3.eu.feeder.erje.net!feeder.erje.net!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: Wed, 28 Aug 2024 13:29:18 -0700
Organization: None to speak of
Lines: 33
Message-ID: <87ttf4bdcx.fsf@nosuchdomain.example.com>
References: <uu54la$3su5b$6@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> <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>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Wed, 28 Aug 2024 22:29:20 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="1017e97994ee365b6a0a4b9b05fc05d0";
	logging-data="3779170"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+ZmypyfrAJrj3mR6FvcvOa"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:NbH+xfRawrt7LmUaX2cIsbttcRo=
	sha1:aG73BMJBIGsZlt9gup+1rbviKk8=
Bytes: 3190

Lawrence D'Oliveiro <ldo@nz.invalid> writes:
> On Tue, 27 Aug 2024 19:10:57 -0700, Keith Thompson wrote:
>> Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>>> On Tue, 27 Aug 2024 14:49:19 -0700, Keith Thompson wrote:
>>>> I've done some Python programming, and it wouldn't occur to me to add
>>>> "#end" comments.  If I saw them in a code review I'd probably
>>>> recommend deleting them.
>>>
>>> Give them a try. They simplify a lot of situations. I already posted a
>>> reasonably complex example in this thread. Go have a look at it, and
>>> see what happens when you delete those comments.
>> 
>> No, I won't be doing that.
>
> I wonder why? You expressed an opinion about them, yet when I try to find 
> out more about why you feel that way, you run away.

I didn't intend to run away, I was just declining to engage.

But ok, I found your post and removed all the #end comments.  I found it
just as readable without them as with them.

I'm very much aware that different people perceive things differently.
(An unrelated example: I find "Yoda conditions" like `if (42 == value)`
deeply annoying, but some people like them.)  If #end comments help you,
I'm not going to tell you not to use them.  But be aware that (a) other
readers might dislike them, and (b) if you're going to be reading Python
code written by others, you'll need to be able to get along without
them.

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