3 ms·
Python annotations actually provide a very decent typing layer. You have to use an additional tool to do the checks, there are much fewer third party typings, a
by the_duke 5y ago
Python annotations actually provide a very decent typing layer. You have to use an additional tool to do the checks, there are much fewer third party typings, and the type system is definitely not as sophisticated as TS.
But Python code is also not as dynamic as JavaScript, so you can get most of the way with what's already in the standard library. (again, disregarding the missing pervasive typings for the ecosystem)