Hacker News new | ask | show | jobs
by tintin 5444 days ago
Totally agree. Some time ago I saw a html template engine with something like this:

  $framework->outputTextInput("name", "value", "class");
And after running +50 lines of code this would be the output:

  <input type="text" name="name" value="value" class="class"/>
It had nothing to do with keeping the state of the app or something, just outputting HTML...