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

IMO most of the complexity of the web comes from 2 shortcomings:

1 - It's hard to reuse HTML. Consequently, even static sites need some sort of build step.

2 - HTML needed something like htmx, so every component could be updated dynamically without writing JS code.

According to my estimations, if (1) and (2) were native to HTML, 93% of all websites wouldn't need JS.



I have been doing this a long time and one of the largest problems I encounter is an absence of basic communication skills. I look at your comment and see HTML is too hard and if we had something else it wouldn't be too hard. Too hard is empty defensive posturing that announces some form of gap, typically insufficient training/preparation. When people hear too hard they only see you and a goal with a giant mystery in the middle that you cannot articulate. Are you claiming people lack the proper training?


I wrote:

> It's hard to *reuse* HTML

And not:

> It's hard to use HTML

Anyhow, assuming you are not trolling, my point is: writing plain HTML is not productive, as I need to repeat myself all the time. I can't create my own abstractions for reuse, as I would in most programming languages.


HTML is not a programming language. HTML is a data structure as are JSON and YAML. Many people choose to solve for reuse with a programming language.




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

Search: