Remix.run Logo
Larrikin 7 hours ago

I've cooled significantly on Python now that there are a number of strongly typed languages out there that have also gotten rid of the boilerplate of languages Python used to compete with.

Readability gets destroyed when a function can accept 3 different types, all named the same thing, with magic strings acting as enums, and you just have to hope all the cases are well documented.

awesome_dude 7 hours ago | parent [-]

Type systems document data movement throughout applications :-)

And the other problem with functions accepting dynamic types is that your function might only in reality handle one type, it still has to defensively handle when someone passes it things that will cause an error.

All the dynamic typing really did is move the cognitive load from the caller to the called.