News for hackers. Stuff that matters.
Re:Zed Shaw: Tir Web Framework Officially Up by zedshaw on Saturday December 04, 2010 @02:13AM (#1968775)
Well, I only did what I needed, but since Lua's included code blocks are also functional, wouldn't it be easier to just allow passing arguments? It'd also make a lot more sense. I find Django/Jinja inheritance concepts really confusing.

I'll take a look at the code and see what I can come up with.

Re:Zed Shaw: Tir Web Framework Officially Up by meric on Saturday December 04, 2010 @05:10AM (#1968960)
If you wanted, say, your about page to have an extra image next to the logo (as an exception to all the other pages), then you'd have to rewrite another header file to include, whereas if you used template inheritance you could just override that logo part without having another almost identical header file.

It may be confusing if you're new to it... but so are OOP, Lambda calculus, and others. ;)

EDIT: The code isn't that clean... Apologies in advance.