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

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
Feb
27
awarded  Guru
Feb
27
comment Constructor-only subclasses: Is this an anti-pattern?
@Doval: Thinking too closely about the ramifications of infinite sets can (literally) drive you crazy. Just ask Georg Cantor!
Feb
27
comment Why are structs and classes separate concepts in C#?
@LightnessRacesinOrbit: Actually that's exactly what I'm doing. I explain that in C#, structs have no inheritance and classes are reference types, and then demonstrate how in C++, which the OP was asking about, not following this pattern causes messes by violating Liskov Substitution and leading to issues like object slicing.
Feb
27
comment Why are structs and classes separate concepts in C#?
@AndyProwl: Perhaps it's a subjective conclusion to draw, but it's one well-supported by objective facts, which I have stated clearly. If you have facts which present support a different position, feel free to present them.
Feb
27
comment Why are structs and classes separate concepts in C#?
@BartekBanachewicz: Pray tell, which of the facts that I stated are subjective? That passing objects as values breaks polymorphism? That objects as value types requires hassles like copy constructors and causes messes like object slicing? That all the hidden gotchas that it introduces is the reason why C# and other OO languages chose not to follow C++'s object model?
Feb
27
comment Why are structs and classes separate concepts in C#?
@Mgetz: That's not object slicing; that's just non-polymorphic functions at work. Slicing is something highly unfortunate that happens when assigning a value-typed object to a derived class, that can lead to bizarre data corruption issues.
Feb
27
reviewed Reject Why are structs and classes separate concepts in C#?