| ▲ | HauntingPin 8 hours ago | ||||||||||||||||
I've worked with both Java and Python extensively. Python's type system is far more exhausting, tbh. You have to think about types in both languages, but at least in Java, the compiler and static analysis can tell you if there are type-related issues. In Python, runtime errors. Anything larger in Python becomes a nightmare to work with because you basically never know for sure what's being passed into a function without excessive type checking and testing. | |||||||||||||||||
| ▲ | ashishb 7 hours ago | parent [-] | ||||||||||||||||
And you can never mandate that optional type checking in a big enough team. You can even see popular FOSS Python packages that have very limited type checking. | |||||||||||||||||
| |||||||||||||||||