News for hackers. Stuff that matters.
Re:Python type hints may not be not for me in practice by plaguuuuuu on Thursday November 28, 2024 @06:50AM (#42264554)
Worth mentioning that I've also have the opposite opposite experience. Wrapping/using a library in vanilla JS, the type signatures changing and breaking unexpectedly with an update and only finding out when parts of the app suddenly broke.

It can be slightly laborious to manually wrap a bunch of operations so you can override something, but it's more of an annoyance/inefficiency than something that adds cognitive overhead. That said, many languages (eg structurally typed ones like TS) it should be a non-issue.

There are no comments on this comment yet.