Ask HN: Pros and Cons of Developing a Desktop vs. a Web App?

4 points by raizinho ↗ HN

5 comments

[ 4.5 ms ] story [ 11.7 ms ] thread
Desktop: pros -> more productive, simpler, stabler APIs and frameworks, easier for « backend devs », more information density, better screen management (multi windows), more access to native devices and features, ... cons -> deployment / upgrade workflows, dependant on client configuration, usually less portable, easy to leak domain logic in frontend, harder to scale, ...

Web: pros -> portable, “lightweight” client dependencies (browser), mobile / tablets, good separation of backend and front-end logic, ... cons -> less productive (generally), require more infrastructure and Ops, harder to fit LOB-apps workflows and information density requirements, many choices to choose from, fast changing, ...

But this is becoming a relatively false dichotomie with web-based desktop apps (electron based or specialized like OpenFin in the banking world).

Would you recommend just building web-based desktop apps?
Depends entirely on the usecase. I'll say one thing though, users are much more likely to visit a website than download and install a desktop application.
"I'll say one thing though, users are much more likely to visit a website than download and install a desktop application."

Again, that depends on the use case. I am in health care and because of HIPAA regulations I would be much more inclined to download a desktop application than a web application.