Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> HTML and CSS weren’t designed to be general-purpose GUI description languages

Maybe not, but they are now, and are incredibly diverse in what that can achieve.

> HTTP wasn’t designed to be a client-server GUI application protocol.

Again, maybe not, but it is now with Websockets, http2 and webRTC.

> JavaScript wasn’t designed to be a serious application programming language.

Also maybe not initially but it is now incredible capable and amazingly only 50-100% slower than C! We now have WASM that let you reuse a vast amount of code from desktop too.

> basic UI controls still have to be custom-implemented and custom-styled by each app

Even with native gui toolkits developers are having to constantly build custom widgets for their specific use case. HTML gives us a baseline of widgets what work everywhere from desktop to mobile on all OSs. Would I like more? Yes, but what HTML gives us is the ability to build our own really easily, in an accessible way.

> CSS layout and styling is still a byzantine minefield.

I disagree, flexbox and grid layout are incredible and solve all the issues with the older box and float model.

> The ecosystem of tooling and libraries and frameworks remains highly fragmented.

True, and it can be a barrier to entry for someone new. However newer tooling such as Vite and ESBuild are incredible, fixing menu of the warts of the older tools.

But it would also say the the the amount of tooling options available is a testament to the success of the web platform.

> staggering amount of manpower is being wasted away in bespoke frontend development.

Most people don't want the web painted in the same shade of magnolia. Plus all those supposed "wasted" hours pay hundreds of thousands peoples salaries, supporting family and contribute to a vibrant economy.

The web platform is one of the greatest inventions of all time, and so incredible successful. It's so diverse in its capabilities and surprisingly performant at that. Honestly it's far better than people often give it credit form.



So web frontends are great because ... they're incredibly successful. That kind of tautological reasoning doesn't contribute to the discussion tbh. Web frontends are everywhere because recurring payments and/or attention economy approaches are more profitable than classical software sales, simple as that.


Web front ends are great because they truly run on any device without needing to install a binary. They're our only way to permissionlessly reach mobile users (due to mobile duopoly and sandboxed OSes). A web front end can reach billions of users and devices and be deployed in milliseconds.


That doesn't mean that the tech stack/ecosystem is great compared to how good or bad it hypothetically could be while having the property you mention. It's like saying a programming language is great because it is Turing-complete, which, while certainly an important property, is not exactly an encompassing measure of quality.


The web is the way it is because no one owns it. The web standards and protocols were negotiated over decades and have already accounted for countless amounts of compromise and feature sets between numerous competing interests and evolving tech while also maintaining backwards compatibility. How great it could hypothetically be is practically useless as an argument.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: