Re:ES2022 feature: class static initialization blocks
by tasogare on Wednesday September 01, 2021 @08:15AM
(#28378866)
> 2006 era JS was more than sufficient to build out highly maintainable 100k+ LOC codebases
Typescript wouldn't have been created if this was the case.
Re:ES2022 feature: class static initialization blocks
by puppet-master on Wednesday September 01, 2021 @08:34AM
(#28379037)
Typescript was about bringing the culture of static languages to a language design that explicitly rejected it. Large JS codebases already existed in 2006 (Gmail, ..)
Re:ES2022 feature: class static initialization blocks
by lifthrasiir on Wednesday September 01, 2021 @08:42AM
(#28379124)
As far as I know Gmail used the Closure compiler which can be considered as a spiritual precursor to TypeScript. Also several Google service frontends were in fact based on GWT and written in Java.
2006 era JS was more than sufficient to build out highly maintainable 100k+ LOC codebases, all this stuff does is introduce new variations of the same functionality for almost no benefit. Javascript is no longer a small language. I think the only surviving practical small language is Lua, and it's only remained small because the hoards are yet to turn up and bulldoze its original design with infinite feature requests