11,090 reputation
22046
bio website
location
age
visits member for 2 years, 11 months
seen 57 mins ago

Oct
4
answered xml based programming languages
Oct
2
comment Do you have to ban atomics to get good tool support for race detectors?
properly writing a threads safe function using atomics is very hard, and much more intricate than using plain mutexes. I'm not surprised helgrind doesn't want to bother trying to verify them
Oct
1
comment What are the guidelines for either throwing an exception or failing silently for nonvalid arguments?
ask what is appropriate for the caller. failing silently can screw over workflow when you then have to double check again
Oct
1
comment Multiple arguments in function call vs single array
this example seems to call for a builder patterns really
Sep
30
answered What's better either pass a class instance to the method or just primitives?
Sep
30
comment What's better either pass a class instance to the method or just primitives?
if class B works with user let it work with user
Sep
28
comment Why many designs ignore normalization in RDBMS?
those joins will still need to happen even hidden by views
Sep
28
comment Why many designs ignore normalization in RDBMS?
because normalized DBs need a lot of joins on even the most trivial queries
Sep
28
comment Treating a 1D data structure as 2D grid
@awashburn that is the traditional way to do it, it's even built into compilers for static 2D arrays
Sep
25
answered Best practices for refactoring parameter file structure in multiple environments
Sep
25
comment Git temporary code-change
could you use conditional compilation?
Sep
24
answered Using Java Reflection to decouple code modules
Sep
24
comment Will a binary include methods that are not called in the source code?
@JamieTaylor before you defend your code against reflection read programmers.stackexchange.com/questions/101351
Sep
24
comment How to deal with the notion of time in UI/Integration tests
for many things that require outside persistent state in tests it is common to mock the interface to it so it always returns a predictable value, you could do the same for the system time...
Sep
23
comment Will a binary include methods that are not called in the source code?
@JamieTaylor there are some heuristics with which you can say a method wasn't called but there will be holes anytime someone clever comes along
Sep
23
comment Why normalization improves numerical precision?
it allows the mean to be closer to 0 and as such lets the (absolute) accuracy of the intermediate results be much higher in floating point representation
Sep
23
revised Will a binary include methods that are not called in the source code?
added 6 characters in body
Sep
23
answered Will a binary include methods that are not called in the source code?
Sep
19
awarded  Enlightened
Sep
19
awarded  Nice Answer