41,422 reputation
13101190
bio website
location London, United Kingdom
age
visits member for 3 years, 11 months
seen 5 hours ago

Sep
11
comment *Code owner* system: is it an efficient way?
@Vatine: Right. So you break your code into modules and have a team working on each module. You still don't have a piece of code owned by one person.
Sep
9
comment Is catching general exceptions really a bad thing?
@BobHorn: Two ways of looking at that. Yes, you can say that logging isn't particularly important and if it fails then it shouldn't bring your app to a halt. And that's a fair enough point. But, what if your application fails to log for five months and you had no idea? I've seen this happen. And then we needed the logs. Disaster. I would suggest doing everything you can think of to stop logging failing is better than ignoring it when it does. (But you're not going to get much of a consensus on that.)
Sep
9
comment Is catching general exceptions really a bad thing?
Contrived or not, it makes your answer wrong. As soon as you start catching exceptions like Out Of Memory and Disk Full and just swallowing them, you're proving why catching general exceptions is in fact bad.
Sep
9
comment Is catching general exceptions really a bad thing?
Wait. Why would you ever want to log an unknown exception to console and carry on? If it's an exception that you didn't even know could be thrown by the code, you're probably talking about a system failure. Carrying on in this scenario is probably a really bad idea.
Sep
9
revised Design patterns and multiple programming languages
added 28 characters in body
Sep
9
comment Design patterns and multiple programming languages
@JörgWMittag: Huh. You learn something new every day. Did not know that.
Sep
9
revised Design patterns and multiple programming languages
added 534 characters in body
Sep
9
answered Design patterns and multiple programming languages
Sep
6
comment Checking timeouts made more readable
I'm saying that there's very little reason not to do it old-style. No C# developer is going to find it hard-to-read. However, if you feel the desire to do it anyway, as a thought-exercise, then you should. But superfluous classes often come with superfluous work. See what I mean? ie. Your second solution is just fine, although I might make Ago() a member of DateWithIntegerSpan and give it a name like DateComparisonBuilder.
Sep
6
comment Checking timeouts made more readable
It seems superfluous to change the syntax of the language/framework, to make it read like English (Ruby is an entire language designed based on a desire to do that, so of course its metaprogramming ability is more easily flexed). But that doesn't mean you shouldn't. :)
Sep
6
comment Checking timeouts made more readable
Why is your helper class a problem? You'll find most "fluent" interfaces (which is what you're building here) involve a command builder class which implements several syntax interfaces.
Sep
6
comment Penalization of under performing employees, how to avoid this?
Are we talking about docking salaries (leaving the individual short one month) or reducing salaries (a permanent, softer deduction)? They're two very different things. Also, is it all hurting under-performers or are there bonuses for over-performers?
Sep
5
comment Is programming language that is non-visual … possible?
When I'm programming, I already make enough gestures at the screen. There are usually words involved too.
Sep
5
comment Choosing the right version control system for .NET projects
@maple_shaft: Sure. Hey, I'm using TFS at work right now (though I plan to try out git-tf when I find some time) and it's not the end of the world. I've probably used Git less than Mercurial, SVN or TFS (VSS would be a close-call) in my time. I'll use whatever makes sense at the time; I'm only in this thread at all to correct some blatant misinformation ... and use of antagonistic language ;P.
Sep
5
comment Choosing the right version control system for .NET projects
@maple_shaft: Wars have to have two sides, ya know. Bit unfair to blame that entirely on the "Git cult".
Sep
5
comment Choosing the right version control system for .NET projects
@Serg: Is it a fact like "forces you to install cygwin"? MSysGit is a perfectly viable alternative to cygwin. And while you need to install MSysGit and Putty for Git Extensions, you don't actually need to understand them under-the-hood. You could just use the Windows/VS integration.
Sep
5
comment Choosing the right version control system for .NET projects
You can create Git repos on BitBucket. And Git isn't quite so Windows-user-unfriendly as it used to be.
Sep
5
comment Choosing the right version control system for .NET projects
Worth noting that Microsoft have recently released a Git integration with TFS meaning you can have the best (or worst, depending on your perspective) of both worlds. blogs.msdn.com/b/bharry/archive/2012/08/13/…
Sep
4
reviewed Approve Understanding the static keyword
Sep
3
answered Understanding the static keyword