Reputation
11,080
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
1 23 44
Newest
 Guru
Impact
~273k people reached

1d
comment Better to have 2 methods with clear meaning, or just 1 dual use method?
+1 for pointing out the implications of locking.
Feb
5
comment Database searching for string across different tables
@TOM-12: DB2 has full-text search available. See if your installation has it.
Feb
5
comment Word game algorithm
What kind of efficiency are you looking for? Time? Space?
Feb
3
comment Is a 25+ table join a code smell all by itself?
Any database worth its salt gives you tools to nail down exactly why performance sucks. Have you used them?
Feb
1
comment Is break a code smell?
Code is a code smell. Don't write code.
Feb
1
comment C++ class design with invariant
There's really only one "how far," and that's far enough to make sure the invariant lives up to its name by never, ever letting it vary.
Jan
31
comment Is break a code smell?
map, foreach and filter don't help when the problem is "operate on all elements up to the first one that satisfies some condition." I'd go so far as to argue that using reduce for that case instead of a straight loop with a break is a code smell because it's less readable.
Jan
30
comment Google AlphaGo's Deep Learning is done on von Neumann machines or dedicated analog neural chip?
I'm voting to close this question as off-topic because this isn't a question anyone other than Google can answer definitively.
Jan
29
comment How to mentor *senior* developer?
This guy doesn't know about A, B and C - Similarly, you don't know about X, Y and Z. Don't discount your seniors because they didn't cut their teeth on the same new shiny that you did. If they're worth their salt, you can learn a lot from them and they can pick up whatever they need to do the job.
Jan
29
answered How to calculate how often to poll the server for new data?
Jan
27
comment What is the difference expected but not desired behavior and a software bug
@GilbertLeBlanc: Expected but not desired could also be interpreted as "you did what I asked but what I asked wasn't actually what I wanted."
Jan
27
awarded  Guru
Jan
23
comment How does the copy and paste mechanism work and is it a standard design pattern as in GoF?
Whether or not any specific design pattern as described in the book factors into it depends entirely on the implementation. Design patters are just names given to common ways of solving certain problems; they're not something you snap together to build programs.
Jan
21
comment Using a license without a year value
Shouldn't cost you that much unless you're using a VCS that doesn't have hooks. Git has them, and writing a hook to make the substitution would probably take fifteen minutes.
Jan
20
awarded  Nice Answer
Jan
16
comment Library/API Runtime Between Versions
The standard (de facto or otherwise) for grep is POSIX. You'll find that almost all of the switches there date back at least as far as Unix V7, which was the first version that ported easily.
Jan
16
answered Library/API Runtime Between Versions
Jan
15
revised Declaration confusion in pointers
Missing word.
Jan
14
revised Declaration confusion in pointers
added 1506 characters in body
Jan
14
comment Declaration confusion in pointers
@mawg: Cdecl.org is great, but answers that are just links don't make good answers, which is why Bart made it a comment.