4,811 reputation
22046
bio website
location
age
visits member for 3 years, 10 months
seen Sep 16 '13 at 22:05

no blog, no github yet.


Oct
17
comment Use of keyword “Using” in C# interface
One can edit a template file and adjust which using statement get included and where - they should go inside of the namespace by default or else StyleCop will complain, and even worse - bad things can happen.
Oct
16
comment Is this a violation of the Liskov Substitution Principle?
You might want to change it to: public Status Status { get; private set; }; otherwise the Close() method can be worked around.
Oct
15
comment Is there a 'design pattern' type listing of common algorithms?
All you need is this bible - amazon.com/Introduction-Algorithms-Thomas-H-Cormen/dp/…
Oct
11
awarded  Good Answer
Oct
7
comment Processing a stream. Must layers be violated?
+1 Certainly a deeper answer than mine. This question would have had an answer 10 years ago; the only difference is that now tools are better in general and more patterns have made their way into languages to become a syntactic sugar. LINQ is one of them.
Oct
7
revised Processing a stream. Must layers be violated?
added 32 characters in body
Oct
7
comment Processing a stream. Must layers be violated?
Note that technically yield return does not have to be present in the language, but boy does it make life easier when it is! startbigthinksmall.wordpress.com/2008/06/09/…
Oct
5
revised Processing a stream. Must layers be violated?
added 47 characters in body
Oct
5
answered Processing a stream. Must layers be violated?
Sep
24
comment What's the best Java equivalent to Linq?
So, this will emulate Linq over SQL, not LINQ over objects, right?
Sep
23
comment Why are invariants important in Computer Science
I use assertions a lot ... not so much to guarantee the correctness as to reduce the likelihood of bugs.
Sep
23
comment Do other developers feel that as they get better, it becomes harder to get jobs?
Ok, the UI would be simple but as far as computing the short link, storing it and retrieving it fast ... did that come immediately to mind as well? Anyhow, if you are the smartest person in the room, then you are in the wrong room. I bet that comparing to Évariste Galois you are not a genius. Good news - you can find your own niche; you just have to figure out what it is and where to apply. You can always apply to Google, MSFT, Amazon, Spolsky's company, Facebook, etc. If you are considering SF as a location, then surely you can find smarter companies, no? Try interviewstreet.com
Sep
23
comment Do other developers feel that as they get better, it becomes harder to get jobs?
So, what was your solution to the URL shortening problem?
Sep
11
comment Offshoring: does it ever work?
It can work rather well if the country that is being outsourced to is less than 8 hours diff and has strong engineering education but not great economy, say Czech Republic or Serbia (relative to New York) AND everyone on the team has at least 30k score on StackOverflow and they meet other criteria as well and you send one of your senior guys over there for a month or two AND you pay them very competitive salary. It helps if they also have 5+ years of experience working for real companies, so that they have seen the good, the bad and the ugly.
Sep
9
awarded  Yearling
Aug
29
comment Python Coding standards vs. productivity
@Demian Brecht, I too was yelled at for not following some home-brewed C++ conventions. Luckily we use StyleCop as a measuring stick for C# - that way there is little disagreement over what is good style and what is bad style, plus it is very easy to run the StyleCop rules and see the result.
Aug
29
comment Dependency injection: How to sell it
steve-yegge.blogspot.com/2006/03/…
Aug
25
comment How would a new language look if it was designed from scratch to be easy to TDD?
How about a language that does not need TDD ? blog.8thlight.com/uncle-bob/2011/10/20/Simple-Hickey.html
Aug
25
comment Using empty subclasses to add to the semantics of a class hierarchy?
Object-oriented programming does not really help you for this task. You do not need to remember the state. So, I think you should use functional style to generate SQL in this case. Better yet, use a good existing library.
Aug
17
comment Can a single simple language such as Clojure replace Html + JavaScript + CSS + Flash + Java Applets …?
@Martin, Microsoft started WPF from scratch. It did not take off as much as some would have hoped because it is too convoluted, but something like WPF could have replaced HTML. It did not. Also, Apple came out with Thunderbolt standard which they did start from scratch and it is going to live. If the idea is great, needed and has a decent push behind it, then it can succeed. This is probably not the case with my proposal, but I do think that there will be more and more demand for very fast browsers.