I Left PUGJS For EJS

I Left PUGJS For EJS

While learning backend development, Pug was the first template engine I worked with and sure it was cool since it did one of the main things I wanted to do, which is displaying dynamic data to users.

I didn't like pug syntax

Pug's syntax is what I find not too cool, especially the indentation part, Writing my HTML in Pug format was not something I always liked, yes it may be interesting for others.

Trying to manage pug for larger codebase hasn't always been easy for me, So I decided to look for an alternative, that was when I stumbled upon EJS, the simplicity was what I fell in love with.

Reasons I like EJS

  • Simple syntax
  • Fast Development Time
  • you use plain JavaScript in it

Wow, you've come this far, Thanks for reading.