lua-users home
lua-l archive

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

> I read this proposal to ECMAScript, and it seems like it could be a
> good idea for lua


> Basically, [it's] type annotations, but the actual implementation
> just ignores it, so tooling can use it

> Thoughts?

I think it's a bad idea to have type information that isn't enforced.
Eventually it will drift out of sync with reality.  "If the code and
the comments disagree, both are probably wrong."

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B