Reputation
1,858
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
2 11 21
Impact
~124k people reached

Sep
14
comment Why are interfaces useful?
More relevant to this answer: Eric, you're referring the asker to Code Contracts, but they are woefully incomplete; anything other than the most basic contracts is not enforceable by the static checker. I tried using Code Contract on a small project; I've added hundreds of lines for each and every method specifying everything I could about input and output, and yet, I had to add so many Assume calls, for cases like array or enumeration members. After adding everything and seeing the statically verified mess I had, I reverted in source control because it reduced the quality of my project.
Sep
14
comment Why are interfaces useful?
I was just reading "Microsoft creates the problem by not allowing multiple inheritance" and I thought Eric Lippert would have something to say about that.
Sep
14
awarded  Taxonomist
Sep
13
comment Mobile PC Remote
It's easier to write WiFi programs; Bluetooth is very likely to work better.
Sep
13
comment When should I use a 2-property class over a pre-built structure like a KeyValuePair?
@Sign: But what's the point? Creating your own class is less work than wrapping a tuple.
Sep
13
comment How long should a sprint planning meeting last?
An hour seems a bit short for 3 developers / 1 week sprints. Then again, I just finished a relatively small project where we did a 5-minute weekly sprint planning. It depends on the project, and on the cards, because sometimes more (or less) discussion is needed during sprint planning.
Sep
13
comment When should I use a 2-property class over a pre-built structure like a KeyValuePair?
But then your properties would be called Item1 and Item2! Isn't it just as easy to define the entire class? public class SideStrings { public string Left { get; set; } public string Right { get; set; } }
Sep
12
answered How Do I calculate the the “Human Resources/Effort” for a programming project?
Sep
7
comment Can the language make us stupid?
If every tool you have is a hammer, every problem looks like a nail. For example, if you only know Java and JavaScript, you'll never be able to simplify your JavaScript code with functional paradigms.
Sep
7
comment Can the language make us stupid?
I'd add Prolog in there. While the programming techniques are not especially useful in other languages, the ability to perceive problems as logic problems is very useful.
Sep
5
awarded  Nice Question
Sep
2
answered Should the gating question in hiring a web developer be “Have you by yourself, or with one or two partners, ever brought a product to market?”
Sep
2
comment What would truly happen if java.lang.String weren't final?
@MainMa: Actually, in this context it seems that it's the same as C#'s sealed, as in public final class String.
Sep
1
comment Overused or abused programming techniques
@Rapahel: That's exactly why I don't believe studying design patterns is a good thing.
Sep
1
comment Overused or abused programming techniques
@Wayne: How is changing ; to { get { ... } set { ... } } any more work than changing { get; set; } to { get { ... } set { ... } }?
Aug
31
answered Naming for a REST webservice
Aug
31
comment Overused or abused programming techniques
I never use design patterns, although they sometimes emerge naturally in my code.
Aug
31
answered Overused or abused programming techniques
Aug
31
comment Overused or abused programming techniques
Singletons can be useful for a few things, but are almost always used when they shouldn't be. That doesn't mean singletons should never be used - just because something is abused doesn't mean it can't be used correctly.
Aug
31
comment “It was working yesterday, I swear!” What can you do?
You forgot "you are using <insert your least favourite language here>, which is notoriously unreliable.