Hacker News new | past | comments | ask | show | jobs | submit login

Werkzeug's Jinja2 templating engine written in Python.

I happened to dig into its source code for something and eventually found myself amazed at how the entire base is beautifully laid out. It's no nowhere near being naive. It's almost a simple programming language implemented in python. A compiler of sorts with its own abstract syntax tree and stuff. Yet the code is very readable, straight forward and just taught me how to write good python.

[edit] corrected typo.




You mean Jinja2?

Also, Jinja2 and Werkzeug aren't coupled - you can use practically any Python templating lib with it as Werkzeug is just a WSGI library (+ and of course something else..).

And they happen to share the author.


Yeah, my bad. Updated the details. Thanks. 'Mitsuhiko' is a hard name to remember.




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

Search: