7,104 reputation
11532
bio website
location
age
visits member for 3 years, 1 month
seen 5 hours ago

2d
comment Word recognition in a string without spaces or punctuation marks
How would you handle the case where there are multiple possibilities but only one makes sense, e.g., ...OVER THE... vs. ...OVERT HE...?
Apr
14
comment Why do programmers say “from scratch”?
This question appears to be off-topic because it is about terminology and not about programming.
Apr
11
comment According to software engineering which method are too long?
possible duplicate of What is the ideal length of a method?
Apr
9
comment Disk access and seek time
This question appears to be off-topic because it appears to be homework and not about programming.
Apr
9
comment Wrapper around C++ STL
I disagree that there's anything smelly about it. Wrapping the way the OP does creates a project-wide interface that makes it easier to replace the underlying implementation with something else should the need arise. I've had that need arise enough times that I wrap everything that makes sense.
Apr
8
comment Is a popular site like www.google.com served up by one computer?
Great question, but it appears to be off-topic because it's more about networking than programming.
Apr
6
comment Speeds of << >> multiplication and division
@Crizly: Any compiler with a decent optimizer will recognize multiplications and divisions that can be done with bit shifts and generate code that uses them. Don't ugly up your code trying to outsmart the compiler.
Apr
4
comment Should developers “own” the build server(s)?
Having been on both sides of that fence, I can tell you from experience that the grass is equally brown on both sides.
Apr
1
comment System Communication: Avoiding Including a Large “HAS-A” Hierarchy Which Isn't Used
Okay, so library-ish then.
Apr
1
comment System Communication: Avoiding Including a Large “HAS-A” Hierarchy Which Isn't Used
In what way does A provide its hierarchy to B? Is it a library that the developers of A distribute, or do you have to build up your own because it's in some other language?
Mar
27
comment Is declaring STL variables in a class definition too revealing?
In a shop where developers have access to the sources for the classes they're using, any security you gain by doing that is through obscurity. There's a point where trying to enforce these things through automated means has to give way to making sure your developers are disciplined.
Mar
22
comment What is a good way to store geographical data for distance calculations
Check the documentation for the database you're using. Many have native support or extensions for storing geographic types and can do exactly the kind of query you're after with almost no effort.
Mar
21
awarded  Yearling
Mar
9
comment Disadvantages of scoped-based memory management
@delnan: The cyclic reference problem in an environment that doesn't support pointers forces the adoption of the model that instances continue to exist after their reference counts reach zero. Because there's no finalization at that point, it remains incumbent on the developer to know when non-memory instances are no longer needed and manually invoke a method to mop up, just like you would with memory of GC wasn't sweeping up behind you. C++ gives you guaranteed destructors but not garbage collection, and those tradeoffs are what you evaluate when picking a language for a project.
Mar
9
comment Multiple entrance points in project
@JeroenVannevel: Sometimes it's handy to have a less-formal test jig for use during development.
Mar
9
answered Multiple entrance points in project
Mar
9
comment Disadvantages of scoped-based memory management
Java's manual resource management problem is a side effect of not guaranteeing that an object's finalize() method will be called prior to garbage collection. In effect, this creates the same class of problem that garbage collection is supposed to solve.
Mar
8
comment Is Java Bytecode interpreted?
That's an implementation detail that you're not supposed to care about.
Mar
8
comment Would this qualify as fair use?
This question appears to be off-topic because it is asks for legal advice.
Mar
6
awarded  Good Answer