lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sun, 17 Jan 2010 09:48:28 -0800
Mark Hamburg <mark@grubmah.com> wrote:

> On Jan 17, 2010, at 9:38 AM, Rob Kendrick wrote:
> 
> > Sure, but it's not possible to be useful with method calls, for
> > example.  (Because the editor can't know the type of the variable
> > before the colon, as well as many other reasons.)
> 
> You can't know the type of the receiver in Python either, so if
> Python editors can do it, then Lua editors ought to be able to do so
> as well.

If you can't know before runtime, than this suggests that the editors
you refer to run it to find out.  Or guess.

Either option terrifies me.

B.