[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Extending Lua for multiple light userdata types
- From: steve donovan <steve.j.donovan@...>
- Date: Thu, 15 Nov 2012 18:58:02 +0200
On Thu, Nov 15, 2012 at 4:43 PM, <AllanPfalzgraf@eaton.com> wrote:
> How about the option of declaring variables of a specific type?
It's a popular idea currently; annotate a dynamic language with
optional types so it becomes possible to check more statically, and
easier to build IDEs. E.g. Dart, and now TypeSafe, as annotated
versions of JavaScript. Of course, they both go beyond, since people
are terribly nostalgic about class-based OOP.
We could get most of the way there with structured comments with type
information. Then the gaps can be filled with type inference, and one
gets a very grown-up IDE experience. And that is precisely what the
Eclipse Lua project is all about.
steve d.