Pug vs Slim Lang: What are the differences?
What is Slim Lang? Template language whose goal is reduce the syntax to the essential parts without becoming cryptic. Slim is a template language whose goal is to reduce the view syntax to the essential parts without becoming cryptic. It started as an exercise to see how much could be removed from a standard html template (<, >, closing tags, etc...). As more people took an interest in Slim, the functionality grew and so did the flexibility of the syntax.
Pug and Slim Lang can be categorized as "Templating Languages & Extensions" tools.
"Elegant html" is the top reason why over 118 developers like Pug, while over 10 developers mention "Easier to type and maintain than haml" as the leading cause for choosing Slim Lang.
Pug and Slim Lang are both open source tools. It seems that Pug with 18.3K GitHub stars and 1.9K forks on GitHub has more adoption than Slim Lang with 4.83K GitHub stars and 472 GitHub forks.
Sign up to add or upvote prosMake informed product decisions
Sign up to add or upvote consMake informed product decisions
What is Pug?
What is Slim Lang?
Need advice about which tool to choose?Ask the StackShare community!
Sign up to get full access to all the companiesMake informed product decisions