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

Mar
27
comment Why did Alan Kay say, “The Internet was so well done, but the web was by amateurs”?
+1. A lot of what Alan Kay says makes him appear to be the sort of person who would not get the old joke about the difference between theory and practice. He's developed a lot of great theories over the years which have failed horribly in practice, and have been thoroughly out-competed in the "marketplace of ideas" by less theoretically pretty systems that actually work well, and Kay's never seemed to truly understand that.
Mar
24
comment How can I pass String value from EditText In Android Activity to Python Script and also retrieve the result from a function in the python script?
Well, first you would need an in-process Python script interpreter for Android. As far as I'm aware, no such thing exists. There have been a few attempts to create one, but none of the projects have ever been completed.
Mar
24
comment Better to write your .NET library with COM limitations in mind, or separate your .NET library from Interop?
Very strange line from the article: "But why would someone ever think of exposing a nice and clean .NET library for a development platform (COM) that was deprecated decades ago?" COM is deprecated? I think someone forgot to tell the folks at Microsoft; they're still adding new features to Windows with it!
Mar
21
awarded  Good Answer
Mar
21
revised How can I make a Python function examine every element of a list?
added 25 characters in body
Mar
21
awarded  Good Answer
Mar
21
awarded  Nice Answer
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?