DEV Community

Discussion on: JavaScript and manipulating the DOM

 
tux0r profile image
tux0r

if your computer can do it, the web should be able to do it too

If you buy a computer for nothing else but using the web, that might be fine. But I don't.

Thread Thread
 
nicostar26 profile image
Nicole Saunders 💻🌹

I think most people like the convenience of not having to install a desktop app for every single thing they use their computers for. The space alone on that would get kind of crazy. I use my computer for a lot and a lot of the time I have a web app open.

Thread Thread
 
tux0r profile image
tux0r • Edited

That's the good thing: Most things people need come preinstalled with their computers, even e-mail clients. What else? Office software? A one-time installation.

The space alone on that would get kind of crazy.

A funny claim, given that web-based software (running on a headless web browser), like Visual Studio Code and Slack, makes the largest downloads today. Good desktop software is notably smaller, faster and more secure than its web equivalents.

Bring one counter-example please.

Thread Thread
 
nicostar26 profile image
Nicole Saunders 💻🌹

People do a lot more on their computers than just microsoft office and default email. Sometimes it's just easier to open one desktop app (the browser) and do a lot from there. The average user doesn't really care much about technical specs, they just want convenience.

Out of curiosity, why are you anti web app?

Thread Thread
 
tux0r profile image
tux0r

The average user doesn't really care much about technical specs, they just want convenience.

Desktop applications are convenient.

why are you anti web app?

I even dislike the term "web app". The web is not an application platform, the browser is an application. You cannot run a web browser without installing a local piece of software - so why do you think every other piece of software needs to run inside it?

"Web applications" are:

  • much more insecure than desktop applications because a web browser is a huge security risk itself (check cvedetails.com) and malvertising (thus, JavaScript) is a giant danger
  • much slower than desktop applications because interpreted code running in a sandbox running in a virtual machine running on a web browser... you get the point
  • much more resource-hungry than desktop applications because interpreted code running in a sandbox running in a virtual machine running on a web browser... you get the point
  • much less flexible than desktop applications because you're bound to one dynamic language, one description language and one style language

Honestly, "web applications" are a thing for consumers. My mother would love them. Once you care what actually happens to your computer, you should be afraid of them.

Your mileage may (and obviously does) vary.

Thread Thread
 
nicostar26 profile image
Nicole Saunders 💻🌹

How do you quote in the comments? :)

Thread Thread
 
tux0r profile image
tux0r

By using Markdown. I'm pretty sure that someone wrote a web app for that if you wish ...

Thread Thread
 
nicostar26 profile image
Nicole Saunders 💻🌹

Ok I didn't invent web apps, no need to get upset with me... but thanks for the link.

Thread Thread
 
tux0r profile image
tux0r

You would notice if I was upset ... :-)

However, 1:30 AM here. Good night. ;-)

Thread Thread
 
nicostar26 profile image
Nicole Saunders 💻🌹

However, 1:30 AM here. Good night. ;-)

Good night. lol, had to.

 
nektro profile image
Meghan (she/her)

Well we could standardize a file format for making desktop applications using HTML, CSS, and JS so that you'd just run the file with the browser of your choice, but then at that point you're making an open source jar file (which could be a good idea if done right)

Thread Thread
 
nektro profile image
Meghan (she/her)

those programs are big because they're packaging the whole headless browser with them which is unnecessary.

Thread Thread
 
tux0r profile image
tux0r • Edited

And still slow and insecure, even without it...