On Wednesday 10 February 2010 19:00:47 Jonas Obrist wrote:

> I'm not sure if this was discussed before, but what about allowing
>  to easily register custom comparison operators? I'm thinking of a
>  similar API we currently have for registering template
>  tags/filters for if-tag operators.

My gut instinct is this would be a very bad idea for readability.  
Defining new operators works OK in a language like Haskell (and even 
there it can be pretty confusing), but in a template language...?

Luke

-- 
You meet a lot of smart guys with stupid wives, but you almost 
never meet a smart woman with a stupid husband. (Erica Jong)

Luke Plant || http://lukeplant.me.uk/

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-develop...@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to