|
|
|
|
|
by crgwbr
314 days ago
|
|
Python type hints are hugely valuable both as a means of correctness checking, but also just as a means of documentation. It strikes me as incredibly shortsighted to say you can forget about types just because it’s a dynamic language. The types are absolutely still there and need thought about. They just aren’t defined or used in terms of allocation and management of memory. |
|
Yes, if they aren't in the code, it just means the programmer has figure out and carry that around mentally when reading or writing code.