3,725 reputation
1334
bio website heinzi.at
location Vienna, Austria
age 34
visits member for 2 years, 8 months
seen Apr 11 at 7:08

Mar
19
awarded  Nice Question
Feb
7
awarded  Notable Question
Jan
29
comment Are classes with only a single method a problem?
Related (almost a duplicate): programmers.stackexchange.com/q/175070/33843
Nov
21
comment Dictionary of objects
Due to floating-point inaccuracies, I'm not sure if double is a wise choice for a dictionary key.
Nov
12
comment In retrospect, has it been a good idea to use three-valued logic for SQL NULL comparisons?
@DanielB: That was exactly the point of my question: From a mathematical point of view, it all makes perfect sense. However, from a practical point of view, does it really make life easier for developers?
Nov
10
accepted In retrospect, has it been a good idea to use three-valued logic for SQL NULL comparisons?
Nov
7
comment In retrospect, has it been a good idea to use three-valued logic for SQL NULL comparisons?
PS: I know that this borders on "too broad" and "opinion-based", but I've tried to make it as answerable as possible. It is not meant as a rant, but as a genuine question.
Nov
7
asked In retrospect, has it been a good idea to use three-valued logic for SQL NULL comparisons?
Nov
4
revised IL and case-sensitivity
added 275 characters in body
Nov
3
answered IL and case-sensitivity
Nov
2
revised Is it reasonable to null guard every single dereferenced pointer?
added 19 characters in body
Nov
2
answered Is it reasonable to null guard every single dereferenced pointer?
Oct
21
comment I've been told that Exceptions should only be used in exceptional cases. How do I know if my case is exceptional?
Nice idea! One drawback: In your example, validation is actually performed twice: Once during Validate (returning False if invalid) and once during Save (throwing a specific, well-documented exception if invalid). Of course, the validation result could be cached inside the object, but that would add additional complexity, since the validation result would need to be invalidated on changes.
Sep
17
awarded  Civic Duty
Sep
12
comment Hiding query strings logically?
@ratchetfreak: Please elaborate. I'm quite familiar with web.config, yet I do not see the relevance of your comment to the question.
Sep
12
answered Hiding query strings logically?
Sep
12
revised Fields vs method arguments
added 164 characters in body
Sep
12
comment What can multiple threads do that a single thread cannot?
@ColeJohnson: A deadlock is an implementation detail. The visible output is "not halting", which is easily doable with a single thread.
Sep
12
answered Fields vs method arguments
Sep
7
awarded  Nice Question