3 ms·
I'm skeptical about languages getting type systems in version 2. Python has a type system (MyPy) and it's pretty mediocre in practice, because all the major fra
by fennecfoxen 6y ago
I'm skeptical about languages getting type systems in version 2. Python has a type system (MyPy) and it's pretty mediocre in practice, because all the major frameworks violate it with abandon, and the maintainers seldom bother to add types after the fact.
- b2gills 6y agoThe problem with types in Python is that the compiler doesn't enforce the types. Perl will actually enforce the types.
- jimktrains2 6y agoPHP added type annotations later on, and I think that worked much better than in Python. I couldn't tell you why, but types in Python feel like a dumpster fire and in PHP seem to actually ... help and make things better.