[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: Settlers ...
- From: "Richard Ranft" <rranft@...>
- Date: Thu, 18 Nov 2004 10:22:39 -0800
Yeah, but NWScript stinks compared to LUA. You can't relate data and
functions the way you can in LUA (so, you can't even work in a way to
pretend it's OO). If they were smart they'd have stuck with LUA or else
gone with an OO version of NWScript.
Just my 2 lowest denomination monetary units....
[mailto:email@example.com]On Behalf Of Alex Queiroz
Sent: Thursday, November 18, 2004 10:12 AM
To: Lua list
Subject: Re: Settlers ...
Philip Plumlee wrote:
>The reason they are happy is C++ is statically typed, for execution
>efficiency, and Lua is dynamically typed, for cognitive efficiency. It's
>easier to code the command-and-control logic when you don't need to
>write lots of "dynamic_cast<> ::iterator void ->" all the time.
That's right, but there are other dynamically typed languages that
they could have used. Bioware's moved from Lua to a homegrown language
for Neverwinter Nights, for instance.