2,498 reputation
1325
bio website
location
age
visits member for 4 years, 6 months
seen May 20 at 3:17

Apr
3
comment NoSQL within SQL Server
This reminds me of another fun Daily WTF article. While I seriously doubt your bosses are actually this bad, it does show what kinds of things can happen when you don't have a strict DB schema to protect you from business layer bugs.
Mar
4
comment Constructor-only subclasses: Is this an anti-pattern?
Point 1 is right on target. I didn't really understand point 2, but I'm sure it's just as good... :)
Feb
11
comment How can I ask my boss (in a polite way) to comment his code?
I especially like point 3. Sometimes it's beneficial to write a quick two-line email asking him to come give you some help with a problem even if he's just sitting in the office a few feet away from you. That lets him determine when he's ready to be interrupted, and allows you more time to build up a more complete list of questions before the discussion actually takes place.
Jan
28
comment How much logic can be put into a command? Or differently: What kind of logic is command pattern for?
+1 Excellent answer, though a minor nitpick: Advocating for a certain practice such as unit testing is great, but commanding those practices as if they are universally mandatory tends not to be helpful for young programmers. Speaking from experience.
Nov
18
awarded  Yearling
Oct
7
comment Do we need to test 32-bit software in 64-bit Windows?
Does your .NET application have any dependencies on native DLLs? I've been bitten a few times only testing on one platform mainly because I forgot to package the x86 native DLLs with my software along with the x64 DLLs. If you start to use a new third party library, that library might also try to load native DLLs behind the scenes, and you won't notice until it crashes on an x86 PC. I've also had to write code that picks which DLLs to use based on whether my .NET app is running in 64-bit mode or not, and that code needs to be tested as well.
Jul
2
awarded  Curious
Apr
25
comment HTML5 hype as native app replacement - reliable analysis and sources
For what it's worth, I've been working with WPF since about 2009, and I'm still very fond of it for several reasons.
Apr
9
comment Should refactoring be the exception or the rule?
I'd like to point out that refactoring is not the same as adding features or changing behavior. It's a restructuring of code to make it more maintainable. So if you get a new requirement for French phone numbers, the code should have already been in a state where it's easy to add the new functionality. Refactoring happens when you realize it's not easy to add hypothetical new features.
Apr
7
reviewed Approve Beginner's guide to writing comments?
Apr
4
comment Defensive Programming vs Exception Handling?
As a .NET programmer, I cringe at this. But then again, you people do everything weird. :)
Mar
27
answered Dependency Injection vs Mixing Levels of Abstraction
Mar
25
comment How to design my code so that it can use alternative information to help create an object
@Dennis The SRP can apply on different levels. For example, the purpose of the factory is to build a Product object given the input parameters. So the factory has all the logic it needs to do just that, including the necessary logic to get info from a DB. Still one single responsibility, just on a higher level. Of course your factory shouldn't have SQL queries in it, but it can call a function or two on a repository object.
Mar
17
reviewed Reject Complete immutability and Object Oriented Programming
Mar
17
reviewed Approve Multiple entrance points in project
Mar
17
reviewed Reject How do I evaluate if an Orchestration is the appropriate design pattern for a given problem?
Mar
17
reviewed Reject NoSQL design - Storing project assignments
Mar
17
comment How important is it to clean up someone else's code when faced with a tight deadline?
Thanks for the clarification. +1 especially for the comments.
Mar
17
comment How important is it to clean up someone else's code when faced with a tight deadline?
I 100% agree with you, however I wonder how to apply this in the presence of tight deadlines. Do you suggest doing code reviews even though they may suck up more of our precious limited time (in both the reviewing process and the corrections made after the review)?
Mar
13
reviewed Reject Can “Junior” be used in a resume?