ecmascript-types
ecmascript-types copied to clipboard
Drop generics/templates
Generics and Templates (identifiers between <
and >
) was derived from now obsolete approach to replace classic OOP inheritance and allow developers to write less code. Later, later it turned out to be completely wrong: you not only wasn't saved from writing less, but also was forced to deal with excessive amount of hardly readable code.
I sugges we don't inherit this mistake of the past. Especially for primitive types like Int
, Boolean
, etc.