i hate gradual typing

0 views
Skip to first unread message

Raoul Duke

unread,
Jul 10, 2026, 11:28:22 AM (17 hours ago) Jul 10
to pi...@googlegroups.com
because Other People will fail to type things that really ought to be. 

but (1) for wide adoption, it is probably a better approach than strict static typing even with inference. (and not all inference dx are equal.)

and (b) escape opt-out can sometimes be necessary, especially when the types get at all complicated and errors abound and syntax is heck and throw up one's hands and drop the types there just in order to make progress. because the type system is bad dx ie no interactive debugger. (sure llms can help save us now, at least.)

i'm begrudgingly a typescript fan. worst excepting all others kind of a thing. 


David Barbour

unread,
Jul 10, 2026, 2:39:17 PM (14 hours ago) Jul 10
to pi...@googlegroups.com
Gradual typing is greatly improved by extensibility or the ability to easily 'wrap' a module with type info. That mostly resolves the 'other people' problem. Good type inference can also mitigate. 

I would like better support for debugging and visualization of compile-time analysis. 

--
You received this message because you are subscribed to the Google Groups "PiLuD" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pilud+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pilud/CAJ7XQb694VNOkC9p5d%2Bsgperz%2BpMSLk-OHkstHO%2Bg-%2BJ_%2B-6Eg%40mail.gmail.com.

Raoul Duke

unread,
Jul 10, 2026, 3:35:18 PM (13 hours ago) Jul 10
to pi...@googlegroups.com
While it might theoretically be possible, the reality of it is that is sucks a lot to have to attempt to fix up the missing types. (eg sometimes the type turns out to itself be a big ball of mud. if you can even figure out at all what it ought to be. multiplied by however many rando things aren't typed.)

David Barbour

unread,
Jul 10, 2026, 8:18:16 PM (8 hours ago) Jul 10
to pi...@googlegroups.com
Ask an AI to fix up the types, then. So long as it's in your court, it's quite feasible these days.

--
You received this message because you are subscribed to the Google Groups "PiLuD" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pilud+un...@googlegroups.com.

Raoul Duke

unread,
Jul 10, 2026, 9:59:56 PM (6 hours ago) Jul 10
to pi...@googlegroups.com
yeah



...but what if due to the way the code is, the only reasonable type is something akin to void*? 

like, the code might suck because it wasn't done with a typed mindset in the first place. 


Reply all
Reply to author
Forward
0 new messages