Re: A few questions about scripting
Kris Lamb <[email protected]>
| Newsgroups | gmane.games.devel.sweng |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Apr 27, 2010 at 10:18 AM, Matt Gordon <[email protected]> wrote: > The way I see it, using some "not C++" DSL gives you the opportunity to > gain: > > > > 1. reduced iteration time > 2. an easier to handle language for designers or junior programmers > 3. a restricted environment in which it is safer to allow user code to > run in > 4. auto-serialization (save/load, network, load balancing) > 5. executable content that can be versioned/sold separately from the > core code (expansions/add-ons) > > I agree with 3,4 and 5 as being quite true. 1 and 2 are not solid facts however. Reducing iteration time is a complex problem to solve and is typically mitigated more by good management and team communication. As for "easier language" I don't know if that's really true either. Programming languages typically only differ in syntax and amount of built in functions, so where most scripting languages will have things like string parsing already built into it, a language like c++ has many libraries to choose from which can do the same thing. So matter of "ease" is truely in the eye of the beholder. I myself learned the "C's" before I ever learned any of the Perl's/Python's/Lua's so my comfort zone is there, scripting languages kind of turn me off because I like looking at a variable and knowing exactly what type it is by looking at where it's declared. Others may not share this same feeling, I'm sure others like a more leisure approach to typing where x can be whatever you want whenever you want it. In my opinion the "C's" still offer their own great solutions to this problem with typecasting, polymorphism etc... What you really want is some who writes good self documenting code, whatever langauge it's written in. _______________________________________________ Sweng-Gamedev mailing list [email protected] http://lists.midnightryder.com/listinfo.cgi/sweng-gamedev-midnightryder.com