2 ms·
Looking at both and their timelines, I’d think pug may be based on slim which is a great thing. Slim has been around for years, steadily improving and addressi
by andrei_says_ 8y ago
Looking at both and their timelines, I’d think pug may be based on slim which is a great thing.
Slim has been around for years, steadily improving and addressing corner cases.
I absolutely love it. Reduces typing by 50%, reading by 1000+%(as I re-read the code multiple times and it eliminates the multiple takes and looking for closing tags) and matches how my human brain thinks about markup.
- jessaustin 8y agoSlim v0.1: Sep 15, 2010 Pug (actually Jade at the time) v0.1: Jul 5, 2010 I'm thinking these are "convergent evolution", especially since they arose in different language communities. I totally agree that this is the best way to generate HTML. I use pug even for really tiny pages and templates. It amazes me that people like JSX, which seems like a total regression from building elements with function calls like React originally had. When I code Cycle.js in coffeescript it looks and feels a lot like pug; which is great.