3 ms·
> By that measure, are the type safety hints of Python not really giving any type safety? If we're talking compile-time, then: yes, absolutely! Type hinting d
by kiitos 3y ago
> By that measure, are the type safety hints of Python not really giving any type safety?
If we're talking compile-time, then: yes, absolutely!
Type hinting doesn't provide type safety, because type safety isn't a spectrum.
- throwaway46281 3y agoTo me it's pretty clear that safety is a spectrum (e.g. we give cars safety ratings), and therefore so is type safety. Is "type safety" something you saw defined in a PL book or something, which has a more rigid definition to you?