Reputation
2,488
Top tag
Next privilege 2,500 Rep.
Create tag synonyms
Badges
13 27
Impact
~45k people reached

Jul
15
awarded  Popular Question
Jun
23
comment Managing International Programmers
@Ewan Probably true. But we do need to pick a language. Since we've already written everything in English, we can't just write the rest of our code in Spanish. And we can't expect all software devs to be bilingual. And what if we hire a German in the future? Are we going to throw another language in at that point too? So... if you're going to standardize, it's probably best to pick the most common language, which happens to be English.
Jun
23
reviewed Approve How safe is it to compile a piece of source code from a random stranger?
Jun
23
comment Managing International Programmers
@Ewan It helps to know what a variable name means without going to Google translate. Especially on large projects.
Jun
10
comment TDD in theory in only
If the code is written well, but has a bug, it will probably be fairly easy to understand what the original developer meant to accomplish by reading the code, and the new dev can add the necessary tests. The only problem is that most developers think they are writing good code. "Good" depends heavily on your perspective and experience as a programmer. So, there's a tension in this that has to be managed.
Jun
3
awarded  Popular Question
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