News for hackers. Stuff that matters.
Re:The type system is a programmer's best friend by jjav on Saturday November 05, 2022 @04:11PM (#33485149)
> That you introduce more coupling is a tradeoff.

No, the coupling (i.e. assumptions about what type this thing can be) is implicitly there in a typeless language. If you pass in the wrong thing it'll blow up. But it'll happen in production.

The coupling is always there, it's just a matter whether you make it explicit (this allowing errors to be caught early) or you pretend it's not there and let things crash in production.

There are no comments on this comment yet.