51,228 reputation
9143224
bio website tech.turbu-rpg.com
location Seattle, WA
age 32
visits member for 4 years, 6 months
seen 2 hours ago
A lifelong programmer who's been coding in Delphi since its initial release and currently makes a living at it.

Mar
20
answered How come the computer doesn't have to read the entire table when the column is indexed?
Mar
20
comment Is CORBA outdated?
SOAP never was a good idea, even when it was popular.
Mar
18
awarded  Nice Answer
Mar
17
answered When is it a good idea to force garbage collection?
Mar
16
comment Why use an enum to determine node type in a parse tree?
There are two basic ways. One is to have the node classes themselves contain the necessary logic for the compilation process; the other is to have the base node class declare methods to implement the Visitor Pattern and have visitor classes contain the compilation logic.
Mar
16
comment Why use an enum to determine node type in a parse tree?
Why would you have to do that? The base class doesn't need all those properties; just the ones that are common to all nodes. What needs to know about the capabilities of all the disparate descendant classes is the code that operates on the trees. I've poked around inside a handful of compilers with polymorphic ADTs, implemented in various different styles, and never seen the problem you're describing.
Mar
16
comment Why use an enum to determine node type in a parse tree?
For parse trees especially, it is very uncommon to use polymorphism. It would require the base node type to know about all of the different capabilities/properties/attributes of every different node type in the parse tree. Why? The entire point of a polymorphic base class is that it doesn't have to know what its descendants are up to.
Mar
13
comment component-based power system for a game
OK, now I'm all confuzzled. I thought it was called UnrealScript. Granted, it's been a while since I did any work in that area, but... has that changed?
Mar
13
comment component-based power system for a game
C++? I thought Unreal had its own built-in scripting language.
Mar
12
comment Why JavaScript? What's the advantages?
You basically hit on it already. JavaScript is essentially the Comcast of programming languages: no matter how much it sucks, you really don't have much of a choice but to use it for a specific domain, because it's the only game in town.
Mar
11
comment How would you design a user database with custom fields
A schema is a fixed thing, by definition; you can't set one up if you don't know what the fields that you need are. Have a look at Entity-Attribute-Value for one way problems like this tend to get solved in a relational database.
Mar
11
comment In a program written in Pascal, what hardware components are used?
@MichaelT: Sure, but getting into the often-blurry distinctions between "true" compilers, VM bytecode compilers, and "true" interpreters can get confusing even for experienced developers. I deliberately gave a simple answer here to help get an inexperienced developer started.
Mar
11
comment In a program written in Pascal, what hardware components are used?
@gnat: It's pretty clear to me what he's looking for. As stated, the OP knows very little about computers, and the "missing link" here is that obviously he doesn't understand what a compiler is. That's no reason to pounce all over this question and bury it in downvotes and close votes; why not try to be helpful instead?
Mar
11
answered In a program written in Pascal, what hardware components are used?
Mar
10
comment The dream of declarative programming
@itsbruce: I looked at that paper, got about 1/3 of the way in, and couldn't keep from rolling my eyes when it started talking about creating "executable specifications," which, as Joel pointed out, is the software equivalent of a perpetual motion machine... one of those things that crackpots keep trying to do, no matter how much you tell them it could never work. You got anything non-crazy to recommend on the subject?
Mar
10
answered What is the origin of the phrase “extirpated as a potential munition”
Mar
8
awarded  Nice Answer
Mar
7
answered Can you “stop” a C program from being reverse engineered?
Mar
4
awarded  Enlightened
Feb
28
awarded  Nice Answer