4 ms·
As I remember, the biggest thing is the tendency of TypeScript to result in deeply nested code, which is very hard to read/unwind. Note that I haven't touched
by banannaise 4y ago
As I remember, the biggest thing is the tendency of TypeScript to result in deeply nested code, which is very hard to read/unwind.
Note that I haven't touched TS in about two years now, so my memory is a little fuzzy.
- davnicwil 4y agoWould this be in a different way to the equivalent JavaScript code? Or do you just mean like physically, the layout of the code with the additional TypeScript syntax makes it appear more nested/indented and more difficult to parse?
- banannaise 4y agoTS doesn't really do any worse than JS in this respect; the key here is the difference between either of them and Python.
- davnicwil 4y agoAh, this is a facepalm moment in that I had completely misread the initial comment not as being a comparison of JS/TS to python, but of JS to TS then a further comparison to python. Now it makes much more sense!