News for hackers. Stuff that matters.
Re:Universal Jinja: a crazy idea for a Python-ready front end by vultour on Saturday July 15, 2017 @04:18PM (#14778712)
Oh god, no. I don't know if I'm missing something but pug has been single handedly the worst templating engine I've ever seen. Why would you want to write some cryptic template that somehow gets turned into HTML?
Re:Universal Jinja: a crazy idea for a Python-ready front end by lytedev on Saturday July 15, 2017 @07:09PM (#14779609)
For me, forcing me to be good about whitespace is very nice, no closing tags is even better, but the real kicker is

    .sep
vs

    <div class="sep"></div>
So short and concise! And the "somehow" isn't that magical... The code you right else where ultimately gets transformed into something else, too!
Re:Universal Jinja: a crazy idea for a Python-ready front end by lytedev on Saturday July 15, 2017 @07:11PM (#14779618)
Typed that mobile and wish I could edit it... Sorry!