3 ms·
Can someone explain to me why we haven't normalized html templating with a Pug-like syntax (formally Jade)? My perceived benefits of Pug/Jade: * Significantly
by ben_jones 9y ago
Can someone explain to me why we haven't normalized html templating with a Pug-like syntax (formally Jade)?
My perceived benefits of Pug/Jade:
* Significantly fewer LOC
* Improved Readability
* A lot of existing tooling thanks to its popularity in the NodeJS community
- s_kilk 9y agoProbably just the cost of making high-quality ports of Pug in every language.
- benologist 9y agoIt seems to me like headless browsing (now in Node) will make it pretty easy to construct your page using the DOM directly on the server without scattered logic and DSLs.
- InstanceOf 9y agoVuejs can be configured to use pug.
- mixmastamyk 9y agoSo I'm thinking what the heck is pug?, and looked it up. Looks to be "haml with templating" in a single language. Great idea.