🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.advocacy
Article #955

Re: Back To CS Basics. Fuck AI

#955
From: Richard Kettlewell
Date: Sun, 18 Oct 2026 08:12
29 lines
3087 bytes
rbowman <bowman@montana.com> writes:
> 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.

How strictly it’s enforced is a higher-level question. If you deploy and
run Python code indiscriminately then it’s not enforced at all. If you
insist on a `mypy --strict` pass somewhere in your build chain then it’s
pretty solidly enforced.

Much the same is true for code quality filters in other languages. In
any language you might insist on some or all of unit test passes, a code
coverage threshold, static analysis, AI review, human review etc before
deployment. In some languages (e.g. C and C++) you choose which set of
compiler warnings to enable and which of them should be errors. It’s all
“gentleman’s agreement” if you want to characterize it that way, with
relatively few exceptions none of this stuff is unavoidably enforced by
the language implementation.

-- 
https://www.greenend.org.uk/rjk/
Technical Details
Message-ID: <wwv4iejzau6.fsf@LkoBDZeT.terraraq.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nntp.terraraq.uk!.POSTED.tunnel.sfere.anjou.terraraq.uk!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> <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!nntp.terraraq.uk!.POSTED.tunnel.sfere.anjou.terraraq.uk!not-for-mail
From: Richard Kettlewell <invalid@invalid.invalid>
Newsgroups: comp.os.linux.misc,comp.os.linux.advocacy
Subject: Re: Back To CS Basics. Fuck AI
Date: Sun, 18 Oct 2026 09:12:17 +0100
Organization: terraraq NNTP server
Message-ID: <wwv4iejzau6.fsf@LkoBDZeT.terraraq.uk>
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
Content-Transfer-Encoding: 8bit
Injection-Info: innmantic.terraraq.uk; posting-host="tunnel.sfere.anjou.terraraq.uk:172.17.207.6";
	logging-data="871"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:3z3VGp8Nhh9xJNbcU3vQ9cg8/vM=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^
     F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha
     +r0NzP?vnz:e/knOY)PI-
X-Boydie: NO