3 ms·
It's not very strongly typed at all, and it absolutely doesn't force you into the OOP paradigm. Why don't I consider it strongly typed?: Structurally subtyped
by samhh 7y ago
It's not very strongly typed at all, and it absolutely doesn't force you into the OOP paradigm.
Why don't I consider it strongly typed?: Structurally subtyped as opposed to nominal typing, the pervasiveness of any, allowance for vanilla JS coercion, exceptions and promise rejections are untyped, etc.
- orange8 7y agoI agree, that's why I said TS aims to model a strongly typed languange.