|
|
|
|
|
by valenterry
1262 days ago
|
|
I have experience in both and I agree with OP. python's type-documentations are useful but sometimes they are just wrong which makes it impossible to actually trust in them. > Having a Scala code base not compile because someone went all-in on type-level programming, and now simple changes require an understanding of category theory and the associated compiler flags .. that's real pain. Well, the same can happen in python if someone goes crazy and uses a lot of reflection / dynamic changes (i.e. overwriting builtin methods etc.). In both cases it sucks and should have been prevented by other people, but at least in the case with Scala you still have a compiler that can help you "unroll" those changes because it tells you when you screw up. In python you can only have tests or pray. |
|