Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Jinja is just as bad. They’re both a pain to extend.

I believe firmly in separation of concerns but I have never understood the stubborn stance that there should be little to no logic inside of the template layer.

ERB does it right. I have seen some heinous things there, don't get me wrong, but the freedom to use any part of Ruby is incredible.

Nothing worse than when a client is hoping for a 1 hour fix on a really benign and silly bug - only to find that you'll need most of that time to whip up a custom template filter or tag, jumping through hoops to do all that.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: