42,623 reputation
13103193
bio website
location London, United Kingdom
age
visits member for 4 years, 4 months
seen May 19 at 12:26

Sep
20
answered Where would my different development rhythm be suitable for the work?
Sep
19
answered Copy-and-Pasted Test Code: How Bad is This?
Sep
17
comment Is it dangerous for me to give some of my Model classes Control-like methods?
Wait. Just saw your edit. What kind of app is this? Web or Windows or something else?
Sep
17
comment Is it dangerous for me to give some of my Model classes Control-like methods?
I think you're confusing the domain model (the M of MVC) with the data model. The domain model contains all the logic of your domain. The data model just contains data.
Sep
17
comment Is it dangerous for me to give some of my Model classes Control-like methods?
How do you think this is deviating from MVC?
Sep
13
comment MVC two models required?
@JimGarrison: MVC is MVC :)
Sep
13
revised MVC two models required?
added 98 characters in body
Sep
13
answered MVC two models required?
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
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.