4 ms·
If you're going to use electron and all the bad that comes with it, why not just use typescript though?
by 8note 4y ago
If you're going to use electron and all the bad that comes with it, why not just use typescript though?
- baq 4y agoI 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).
- winstonewert 4y agoBecause even though typescript improves on Javascript and even golang, it still is much less nice than Rust.