🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.python
Article #71

Re: Back To CS Basics. Fuck AI

#71
From: John Bokma
Date: Sun, 18 Oct 2026 20:25
17 lines
2274 bytes
On 18/10/2026 22:01, rbowman wrote:
> On Sun, 18 Oct 2026 12:11:06 +0200, John Bokma wrote:

[snip]

>> If that's the case use a dataclass with frozen=True (and perhaps
>> kw_only=True).
> 
> Yes, the language has been improving but iirc dataclass appeared in 3.7.

named tuples are another, older way.

But 3.7, that's 2018!

-- 
Static tumblelog generator: https://github.com/john-bokma/tumblelog/
Available as Python or Perl. Example tumblelog: https://plurrrr.com/
Technical Details
Message-ID: <11b39v6$1fl78$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <18dee4b6cab427fa$865$2574533$802601b3@news.usenetexpress.com> <11atgth$3e59h$1@dont-email.me> <18df0ea174d534e0$1613$2650862$802601b3@news.usenetexpress.com> <11atlpr$3g55c$1@dont-email.me> <11au66n$3m5co$6@dont-email.me> <11aucit$3o8ih$3@dont-email.me> <6ad34325$0$3147$426a74cc@news.free.fr> <wwv33u4o26s.fsf@LkoBDZeT.terraraq.uk> <6ad3a65d$0$31896$426a74cc@news.free.fr> <11b0mis$iems$7@dont-email.me> <njin6fFei39U19@mid.individual.net> <11b25vq$11csg$1@dont-email.me> <njkmthFei39U34@mid.individual.net>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: John Bokma <contact@johnbokma.com>
Newsgroups: comp.os.linux.misc,comp.lang.python
Subject: Re: Back To CS Basics. Fuck AI
Date: Sun, 18 Oct 2026 22:25:06 +0200
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <11b39v6$1fl78$1@dont-email.me>
References: <18dee4b6cab427fa$865$2574533$802601b3@news.usenetexpress.com>
 <11atgth$3e59h$1@dont-email.me>
 <18df0ea174d534e0$1613$2650862$802601b3@news.usenetexpress.com>
 <11atlpr$3g55c$1@dont-email.me> <11au66n$3m5co$6@dont-email.me>
 <11aucit$3o8ih$3@dont-email.me> <6ad34325$0$3147$426a74cc@news.free.fr>
 <wwv33u4o26s.fsf@LkoBDZeT.terraraq.uk>
 <6ad3a65d$0$31896$426a74cc@news.free.fr> <11b0mis$iems$7@dont-email.me>
 <njin6fFei39U19@mid.individual.net> <11b25vq$11csg$1@dont-email.me>
 <njkmthFei39U34@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 18 Oct 2026 20:25:11 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="1561832"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+joFD12NXuKE9gIshEhlK1T0vj2ve3cB4="; posting-host="a7811059ec1df9ebdcae1c8192555339"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:88uhUiMf0rMwgcjTnTVn2lWLdT4= sha256:jkpxGiw3nV9E8e/k/1vx+TAsLsaWPXo5K1uqgQigroA=
	sha1:jWmcgULkaZxESYmVNJwUDP3gR5Q= sha256:Ar1vuQGowCzHr0mgzI0cmidQqUUilvBM9TCe2MTuudg=
Content-Language: en-US
In-Reply-To: <njkmthFei39U34@mid.individual.net>