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

A big difficulty is that HTML by itself doesn't give you good ways to define templates so it's a pretty dreadful task.

Web components can change that in the future but until that it's pretty normal for developers to opt for tools that allow for creating a HTML fragment and building up HTML in another language.

Imagine if we had to do the c calling convention song and dance on every function call...



There are plenty of simple templating options still out there. Twig, handlebars, and jekyll would all be good introductions in my opinion




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

Search: