|
|
|
|
|
by Udik
2289 days ago
|
|
> Typescript aim to model a strongly typed, OPP language. Do you think? I just take TS for what it gives me, documentation and static code analysis. I can write down my knowledge and expectations about the code and have the tool keep track of it for me, removing the cognitive load of doing it myself- which I'd have to otherwise. Can you give me an example of a pattern that is "good" in JS and not in TS, or the other way round? I'm curious. |
|
When using TS the class syntax fits in perfectly for me, an in pure JS I'd stick to functions.