Continuing on the last email of making reserved words less reserved, TT3 is 
adding (I assume) Hash List and Text to the list to allow for Virtual Object 
access (although this may just be proposed).

I'd like to request that the Virtual Objects instead get accessed using a name 
that doesn't have potential conflicts with other items in the stash.

One mechanism for doing this would be to use underscores as they are already 
not available in variable names.

Some possible iterations:

_Hash   #  ->  _Hash.new(a => 'A')
_List
_Text

Or maybe Pythonish

__Hash__   # -> __Hash__.new(a => 'A')
__List__
__Text__

I'd probably prefer the first.  I think that it is a small price to pay for 
keeping variable access sane vs reserving more words.

I'd love to hear any feedback.

Paul

_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to