Missing the point of loose languages
Missing the point of loose languages
Posted Dec 17, 2021 19:11 UTC (Fri) by Wol (subscriber, #4433)In reply to: Missing the point of loose languages by tnoo
Parent article: Wrangling the typing PEPs
> I highly welcome a generic type annotation system that codes like Cython make use of. But imposing a mandatory rigid typing system is the wrong approach. If strong static typing is needed, there is a big choice of other languages out there (go, rust, C++, Java, Haskell, ....ML).
The problem with my favourite language is everything is of type string (or variant). The advantage of this same language is that everything is of type variant. It would be lovely if I could just restrict things by having the default as variant, but options like "integer", "number", and stuff like that available ...
(Said favourite language being DataBASIC, btw)
Cheers,
Wol