DEV Community

Discussion on: Pug vs EJS?

Collapse
 
ben profile image
Ben Halpern

I'm personally comfortable with EJS since I know HTML very well

From my experience, this is important. Even though EJS is kind of ugly, IMO it's much easier to pass around between different people without confusion. With PUG, you're really buying into a wholly different universe, that's probably cleaner and easier to use in and of itself, but different in ways that can matter.

IMO EJS is the more practical solution, even if it isn't "better".

Thread Thread
 
jkimquickdev profile image
Kim John

Thank you Ben, I share your view too. I had that experience today itself only when one of my colleagues saw my PUG script and freaked out. I thought I better go with EJS since everybody knows HTML. Anyway, Thanks for your input on this.

Thread Thread
 
ben profile image
Ben Halpern

I think it’s great to go through the process of asking this question. There’s no right answer but at least it’s not all in your head anymore.

Thread Thread
 
jkimquickdev profile image
Kim John

Agree 100%. :)