Reputation
9,820
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
1 21 43
Newest
 Nice Answer
Impact
~503k people reached

May
13
comment Is lack of whitespace a sign of a cargo cult programmer?
I work with a lot of highly-educated people who write a lot of programs, but are not software engineers. They are full of what we call bad habits. Sometimes I'm able to nudge them into writing stuff that's readable. It's not a concern that they're used to considering. They tend to smile at us with all our pseudo-religions, but when they have to maintain their own code over years, they start to see the value of indentation, spacing, meaningful names, not using the same variable for multiple pusposes, etc. etc.
May
13
comment Does profiling without benchmarking lead to micro-optimization?
@nsfyn55: You're quite right. One case where it did not point to the problem was in a manufacturing simulation where there was an asynchronous protocol between processes, and delays were caused by fast actions being prioritized behind slow ones like DB update. For that, I used a laborious logging method, which worked.
May
7
answered Writing in C for Performance?
Apr
30
revised Why is studying an lisp interpreter in lisp so important?
added 1159 characters in body
Apr
30
answered Why is studying an lisp interpreter in lisp so important?
Apr
26
comment Is there a performance difference between ++x over x++?
You've heard of the streetlight effect? You're not alone in falling for it. There are so many questions like this on SO, where people wonder if language feature X is faster than Y, when real performance issues are totally elsewhere. For one thing, you can only find them after you're written and run a program and (dare I say it) -profiled- it.
Apr
22
comment True/false on the left or the right?
@Parham: Ditto. It's a case of the streetlight effect.
Apr
20
awarded  Announcer
Apr
3
comment Trying to “combine” similar objects without doing a bazillion comparisons
Not being primarily a database person, I'm trying to understand the question. In something vaguely similar that I did ages ago, there was one database that described the structure of another database. Then, since the first one changed at low frequency, there was benefit in precompiling it.
Mar
24
comment Reason for (post/pre) increment operator in Java or C#
@Doval: I even built a language I called D, like C but with OO and parallelism features. It went nowhere (mercifully) and has no relation to the D you are talking about. I drive people crazy in C?? by always writing break; case ... ;-)
Mar
24
revised Reason for (post/pre) increment operator in Java or C#
added 25 characters in body
Mar
24
answered Reason for (post/pre) increment operator in Java or C#
Mar
16
revised Which statement performs best?
added 8 characters in body
Mar
16
answered Which statement performs best?
Feb
27
revised Does Refactoring towards Looser Coupling, Smaller Functions, and Separate Classes affect System Performance? (and Should I Care)
added 218 characters in body
Feb
26
revised Does Refactoring towards Looser Coupling, Smaller Functions, and Separate Classes affect System Performance? (and Should I Care)
edited body
Feb
26
answered Does Refactoring towards Looser Coupling, Smaller Functions, and Separate Classes affect System Performance? (and Should I Care)
Feb
12
answered Is debugging a waste of time?
Jan
30
comment How do I traverse a tree without using recursion?
Come on @Mat, that's kid stuff. You may disagree, like if you are afraid of bombing out on a tree that's too deep, that's a reasonable concern. You can just say so.
Jan
30
comment How to convey your approach is faster than the built-in, alternative approaches?
+ @Joan: I find if you say "It used to take a minute, and now it takes less than a second", that gets the idea across.