DEV Community

Discussion on: Type less! Use Pug Templates!

Collapse
 
robertseidler profile image
RobertSeidler

I just created my first project using pug (as view-renderer in express) last week. And I think u hit the nail on the head in your introduction. Writing html can be tiring and also is confusing / uneasy to read.

Pug is really clear and is written super fast. Initially I chose it for reusing templates in other templates (like header and footer), but I fell in love immediatly. <3

I still need to check the cheat sheet every now and again, but I already feel like I absorbed everything necassary to build the templates I want.

Collapse
 
johnnyfekete profile image
Johnny Fekete

Yes, I felt the same.
The learning curve is really quick for basic use cases, and I could just quickly check the cheat sheet whenever I needed something more complex.

I don't know how old this whole Pug.js is, or how widespread (honestly I didn't hear about it until a month ago) but it's really efficient so people should go and use it