Reputation
2,152
Top tag
Next privilege 2,500 Rep.
Create tag synonyms
Badges
1 8 19
Newest
 Yearling
Impact
~65k people reached

  • 0 posts edited
  • 1 helpful flag
  • 136 votes cast
Nov
17
awarded  Yearling
May
23
awarded  Nice Answer
Apr
7
awarded  Enlightened
Apr
7
awarded  Nice Answer
Mar
19
awarded  Popular Question
Dec
9
comment Logging errors caused by exceptions deep in the application
@BillMichell: When things are done the way I describe, you still end up having all the same information: it's just associated with a wrapping exception, which groups all the related information together in a nice stack trace. Debug/trace logs are a good idea in general, but those are usually inappropriate logging levels when logging exceptions. If an error happens, you want as much information as possible about what was happening, even (and especially) in a production environment.
Dec
6
comment Logging errors caused by exceptions deep in the application
@BillMichell: While the log messages will be less obtrusive at lower levels, I'd still argue that they only add needless complexity in most cases. I would only log information about exceptions that get handled and aren't re-thrown.
Nov
17
awarded  Yearling
Jul
18
awarded  Nice Answer
Jul
15
awarded  Informed
Jan
25
awarded  Enlightened
Jan
25
awarded  Nice Answer
Jan
11
awarded  Populist
Nov
17
awarded  Yearling
Oct
22
comment Ways to ensure unique instances of a class?
@MarcB: Except that the patterns for programming a Singleton don't really work for what the OP asked for.
Sep
13
comment Declaring interface in the same file as the base class, is it a good practice?
@DanielB: The default for Shift-F12 is "find usages." jetbrains.com/resharper/webhelp/…
Sep
12
awarded  Autobiographer
Sep
11
comment Declaring interface in the same file as the base class, is it a good practice?
@DanielB: In Resharper, Alt-End goes to the implementation (or presents you with a list of possible implementations to go to).
Aug
2
comment Storing plaintext passwords for detecting fraud
@nohat: These consequences: mashable.com/2012/06/21/linkedin-lawsuit
Jul
19
answered Product owners with more than one product?