3 ms·
No, that's more like four languages: Typescript, CSS, HTML and the JavaScript the TS gets compiled down to. You can't just write TS once, and never touch it aga
by oneplane 5y ago
No, that's more like four languages: Typescript, CSS, HTML and the JavaScript the TS gets compiled down to. You can't just write TS once, and never touch it again, because you are now targeting a webbrowser and running a webserver, and are probably using a billion NPM packages. None of those are 'static' for a year, let a long a 'long time'.
- johnmorrison 5y agoOverly pessimistic view. You do only have to write one language, and web pages are highly backwards compatible. You don't need to use any NPM packages.
- oneplane 5y agoWe're talking about low maintenance, low security risk and long lasting. None of those are compatible with transpilers, node, javascript or web tech in general.