3 ms·
Why should I be cursed with the weight of your type system when I chose a language without types? If I wanted a typed language, I would use a typed language. J
by vorpalhex 9y ago
Why should I be cursed with the weight of your type system when I chose a language without types?
If I wanted a typed language, I would use a typed language. JS has a lot of benefits. Being able to use JS to make native-ish apps has it's place. Being able to use typed JS to make native-ish apps probably means you should be using a different language.
- SpikeMeister 9y agoIf you continue to use Electron from JavaScript this changes nothing for you. You might get more helpful intellisense if you use vscode, that's all.
- jsight 9y agoYou aren't "cursed with the weight" of a type system if you choose not to use it. You can even still reap benefits from this without using Typescript.
- simplify 9y agoYou're complaining in ignorance. Type systems – especially TypeScript's – does not weigh you down as one might remember Java's does. It's there to help you prevent mistakes and ease refactoring. You're free to ignore as much as you want to.
- tootie 9y agoThis is for people choosing Electron in spite of JavaScript.
- vorpalhex 9y agoThen why use electron? Electron's entire purpose to let you use JS to build native-ish apps. If you want to use a typed system, then use a typed language that supports apps.
- StevePerkins 9y ago> If I wanted a typed language, I would use a typed language. If you're doing server-side development, then you have a million languages to choose from. If you're developing within the context of a browser engine, then the choice was made for you over 20 years ago. If you like that choice, then great. If you don't, then you transpile. Either way, it's silly to act as if there's a contradiction here.
- vorpalhex 9y agoBut this isn't web development, this is a native-ish app. One certainly doesn't need to us JS to make a native-ish app.