Re:Python’s “type hints” are a bit of a disappointment to me
by joshuamorton on Friday April 22, 2022 @05:07PM
(#31128150)
What other languages do that though? C doesn't, Java doesn't outside of particular cases. If you can trick or mislead the compiler, the runtime often has no type information at all, so you'll get, at best, a ClassCastException, and more often than not get a segfault.
[ Parent
| on HN ]
There are no comments on this comment yet.