Article View: comp.os.linux.misc
Article #1003Re: Back To CS Basics. Fuck AI
From: John Bokma
Date: Sat, 17 Oct 2026 20:35
Date: Sat, 17 Oct 2026 20:35
21 lines
2672 bytes
2672 bytes
On 17/10/2026 22:05, rbowman wrote: > On Sat, 17 Oct 2026 17:12:26 +0100, Richard Kettlewell wrote: > >> Still, typed doesnβt mean complete immiscibility of types (at least in >> Python), and a good thing too, since lots of operations take operands of >> different types. For example if d is an int and G is a Python object >> representing a point on an elliptic curve, I want to be able to write >> d*G, >> not mess around with function calls to do point multiplication. > > I've been trying to get up to speed with type hints. Like 'private' > functions in Python they seem to depend on a gentleman's agreement not to > do bad things. Like TypeScript it helps but still has loopholes. They are hints, so yes and no: if you run the code first through mypy or pyrefly (which I prefer) and it doesn't pass just don't run it. That's not really a loophole. -- Static tumblelog generator: https://github.com/john-bokma/tumblelog/ Available as Python or Perl. Example tumblelog: https://plurrrr.com/
Technical Details
Message-ID:
<11b0m5o$j23b$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-mailReferences:
<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> <11b04le$auup$1@dont-email.me> <wwvv770b91x.fsf@LkoBDZeT.terraraq.uk> <nji2ocFei39U13@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.os.linux.advocacy Subject: Re: Back To CS Basics. Fuck AI Date: Sat, 17 Oct 2026 22:35:02 +0200 Organization: A noiseless patient Spider Lines: 21 Message-ID: <11b0m5o$j23b$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> <11b04le$auup$1@dont-email.me> <wwvv770b91x.fsf@LkoBDZeT.terraraq.uk> <nji2ocFei39U13@mid.individual.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sat, 17 Oct 2026 20:35:05 +0000 (UTC) Injection-Info: dont-email.me; logging-data="624747"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/31OGrFDugJ5eoC8r527qFmRkaqkGs004="; posting-host="1d4c32ffc66d22ef0e4cc39dbbcc54de" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:Qv3cttO4Tg75dv3gpxIaK9qN5LM= sha256:UJM2WBtTt0wH+tjci8cKsSSF4eRQUGDrhxhetEKQWyU= sha1:h85WsqmXvIi/fBAtBGuo0/MTFvc= sha256:xb5g/gf3nhmShhqT3n0i3yKV2uUfUQPjQFH5nO5z3PU= In-Reply-To: <nji2ocFei39U13@mid.individual.net> Content-Language: en-US