lua-users home
lua-l archive

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


> > (b) It's hard for others to
> >    understand the Lua code, both because it's weak typed, and because 
> >    (like all class-ish lua) I had to build my own inheritence mechanism and 
> >    the weird syntax makes the code more confusing. 
> 
> How does weak typing make code harder to understand? Or do you mean
> the difference between static and dynamic typing? If it is the latter,
> I would argue that it is a matter of taste. Both static and dynamic

I think that will be cool to add a static option to lua, i mean, to 
be capable of declare the type of a variable or the args to a function.
that.. if the static way doesnt slow the system (i like speed :).. well..
maybe the static types will be faster?, there are plans to add optional
static typing to lua?



- Nahuel Greco                 Web Development - Open Source - 
- http://www.codelarvs.com.ar  Game Programming - Research   -
- Freelance coding / sysadmin  Networking. The answer is 42. -