3 ms·
> This feels like a pretty contrived example. Well, it's certainly not popular in Python today. And it seems the reaction from most Python programmers is they'
by tialaramex 4y ago
> This feels like a pretty contrived example.
Well, it's certainly not popular in Python today. And it seems the reaction from most Python programmers is they'd just force Alice to take the hit, whereupon presumably Alice ceases using Python for this application, and that's maybe fine, it's not as though there aren't other languages.
But it seems like a shame because Python can do this the other way.
> In a language with a stronger type system, I see the benefit
My instinct is that the direction of Python is towards a stronger type system. I remember when Python's type hints were a very obscure feature few ever cared about and now it seems like every other Python story involves the type system and type annotation is strongly encouraged. But I could be wrong.