3 ms·
> What I still don't fully understand is why people want to write non-webpage software in JavaScript, a language designed to run in web pages. There are multip
by slightwinder 6y ago
> What I still don't fully understand is why people want to write non-webpage software in JavaScript, a language designed to run in web pages.
There are multiple reasons, but it mainly comes down to
1) JavaScript is simple and widely used. And as many people are using it, those many people often also have the wish to use it outside the web for other things.
2) Webpage-Software has evolved to Application-Software in the last decade, and nowadays you can create proper interfaces with javascript&css&html which can compete with native desktop-software in terms of ability and somewhat performance.
3) You have one sourcecode for all devices. You only need to write it once, and use it everywhere with a little bit of tweaking. Which is cheaper and faster than writing separate software for every platform and device.