Until TS becomes an official standard supported by ECMAScript out of the box. Were just going along with what feels or looks good and the javascript community has proven that can change from year to year.
Until TS becomes an official standard supported by ECMAScript out of the box. Were just going along with what feels or looks good and the javascript community has proven that can change from year to year.
I like CS very much myself. While I can see the benefit of having type system (in certain projects), I just can’t get over the aesthetic/syntax issue.
I would much rather do it via Typescripts annotations than JSDocs.
It's not clutter as it was deemed necessary by the writer (me).
If I don't want to use type annotations, I simply don't add them and Typescript does not force you to do so unless you tell it to.
Types aren't coming to ECMAScript anytime soon and with flow and TS it's probably time to get used to the syntax.