Re:TypeScript is terrible for library developers
by refactor_master on Tuesday August 23, 2022 @03:52PM
(#32570522)
I agree, and it’s the same with Python. If you start with static, type-safe first, then Python’s flexibility ends up being so horribly convoluted that you avoid it in favor of simpler constructs. **kwargs? Massive union types? Super flexible dicts? Rather not!
I’ll define 50 strongly typed constructs over having to run my code through 50 times to catch all the runtime bugs.
I’ll define 50 strongly typed constructs over having to run my code through 50 times to catch all the runtime bugs.