3 ms·
I love typescript, but hate the JavaScript parts of it.
by baq 4y ago
I love typescript, but hate the JavaScript parts of it.
- jeroenhd 4y agoWith a good linter config set super strictly, you can make Typescript feel like you're barely writing Javascript at all. Any Javascript devs will probably hate working like that because now they're forced to write types for absolutely every single thing, but to me it felt like Javascript was finally fixed. Just banning things like "any" and enforcing proper nullability makes up for a lot of Javascript problems.
- bmikaili 4y agoThis is the worst part of JS. To make it workable u have to: - setup linting (which is awful and annoying) - formatting - use typescript and then maybe u have a usable work environment. Rust just does that out of the box.
- TobyTheDog123 4y agoI disagree - Javascript's issues are not just its lack of type safety. Even with Typescript you're dealing with the disastrous state of NPM/configuration/linters/formatters/libraries -- all of which are firmly Javascript-esque plagues (though not exclusively Javascript plagues).