4 ms·
> HTML gets little respect as a programming language because it's not one. The programming/behavior part of this is using javascript. Open a typical modern web
by crazypython 6y ago
> HTML gets little respect as a programming language because it's not one. The programming/behavior part of this is using javascript.
Open a typical modern website– you'll see a horrible mess of divs. People using very large amounts of HTML to do what should be very simple tasks. People writing complex JavaScript and React and SPAs instead of simply writing HTML. This is a case of people doing what should be done in HTML, in JavaScript.
> That said, I'm interesting in that DSL, care to link it/talk more about it?
view-source:https://wwwperiodictable.surge.sh/ https://wwwperiodictable.surge.sh/
- patates 6y ago> This is a case of people doing what should be done in HTML, in JavaScript. I see where you are coming from but people embedding static content in a scripting language doesn't make HTML a programming language. Yes, it can be used for more than what it is used for right now, but you can't "program" in HTML. You can indeed build state machines in CSS but still... (obviously you also know this, but it could confuse people starting new)