r/learnjavascript • u/ConnectAffect2346 • 2d ago
Advanced javascript?
So i am a student whom enjoys making various small projects in free time with few languages but i have been wondering, as i have used javascript to make few static websites, and programs since it was very interesting to try and as javascript has a lot of built in functions and elements that allow various ways to solve problems, is there a way to make desktop applications using javascript and how precisely? Please explain, even a hint would be useful
11
Upvotes
View all comments
Show parent comment
3
u/SoMuchMango 2d ago edited 2d ago
Electron is an correct answer for the question. This is the way to do desktop apps in JS.
I'm saying that JavaScript as a language is lacking of many quality of life features. There are languages with better set of features. Web platform gives a tons of great APIs, but language itself is very poor, not limiting what you can do with it... More like lacking many features like type checking, pattern matching, range looping. You can live without that, but it is worth to check what other languages have.
People are writing emulators in JS as a learning exercise. Everything can be written in any programming language if you don't target highest quality.