[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Syntax addition: with ... do
- From: Daniel Herkert <mikael_hell@...>
- Date: Fri, 15 Sep 2006 11:22:50 -0700 (PDT)
I just found lua and tough I´m lovin it, something is
still missing. I find myself writin lots of code
Theres a quite a load of repeating 'object' there..
Could there be a new command introduced to handle
with object do
This would clean up code a lot and make it more
As i understand similar behaviour could already be
done with setting the enviroment as 'object', but with
the downside of losing all the global functions etc.
I dont know if the idea im introducing has been
discussed or if theres a smarter way, but do you have
any toughts about this idea?
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around