Deutsch   English   Français   Italiano  
<87le31xoyf.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.lang.c
Subject: Re: Baby X is bor nagain
Date: Wed, 19 Jun 2024 02:27:04 -0700
Organization: None to speak of
Lines: 14
Message-ID: <87le31xoyf.fsf@nosuchdomain.example.com>
References: <v494f9$von8$1@dont-email.me>
	<v49seg$14cva$1@raubtier-asyl.eternal-september.org>
	<v49t6f$14i1o$1@dont-email.me>
	<v4bcbj$1gqlo$1@raubtier-asyl.eternal-september.org>
	<v4bh56$1hibd$1@dont-email.me> <v4c0mg$1kjmk$1@dont-email.me>
	<v4c8s4$1lki1$4@dont-email.me> <20240613002933.000075c5@yahoo.com>
	<v4emki$28d1b$1@dont-email.me> <20240613174354.00005498@yahoo.com>
	<v4okn9$flpo$2@dont-email.me> <20240617002924.597@kylheku.com>
	<v4pddb$m5th$1@dont-email.me> <20240618115650.00006e3f@yahoo.com>
	<v4rv0o$1b7h1$1@dont-email.me> <20240618184026.000046e1@yahoo.com>
	<v4sd75$1ed31$1@dont-email.me> <v4tr8c$1qoda$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Wed, 19 Jun 2024 11:27:05 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="14c46e9d4441e9b6d7e573ea203ad727";
	logging-data="2006658"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19PdecbZ541oJ0O8wvtqtFO"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:5NKrF0BETCCFfnhEWiVN8p8r1f0=
	sha1:bdWCxA6lmUPqHSNUpnpYclwfCQI=
Bytes: 2161

David Brown <david.brown@hesbynett.no> writes:
[...]
> Python "sort" is a bit like C "qsort" (desperately trying to relate
> this to the group topicality) in that you can define your own
> comparison function, and use that for "sort".  For simple comparison
> functions, people often use lambdas, for more complicated ones it's
> clearer to define a function with a name.

Not exactly (see the Python documentation), but this isn't the place to
go into the details.

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