3 ms·
I just want to hear your answer with one of those... How did you do type checking before TypeScript (or the like) in JS? give me a real answer.......
by gaastonsr 10y ago
I just want to hear your answer with one of those...
How did you do type checking before TypeScript (or the like) in JS? give me a real answer.......
- flukus 10y agoI didn't, and you didn't mention type checking above. One very common way though was to avoid the need for it altogether in javascript, by rendering html on the server.
- ng12 10y agoThat's a different poster, and I did mention it above. What does server-side rendering have to do with Typescript? Are you advocating avoiding javascript all together?
- flukus 10y agoSorry, I missed that, I was replying to the parent comment only. But yes, I do advocate avoiding javascript altogether whenever possible (which is more often than current trends). There were a number of other transpilers too, all of which were a pain and I don't see how typescript is going to improve on that.