111 reputation
2
bio website
location
age
visits member for 3 years, 8 months
seen May 5 '11 at 17:08

Apr
17
comment What's the canonical retort to “it's open source, submit a patch”?
@Thorbjorn: Everyone could use a good fork now and again. Even a pity fork.
Apr
6
awarded  Supporter
Apr
4
comment Should a method validate its parameters?
Assertions that can be removed when code is put into production are a good answer--general validation (except on, perhaps, really critical platforms like a space probe or something) is usually too costly in performance to justify. Why validate parameters to a sqrt() functions I'm going to calls thousands of times a second, when I should just assert out in testing?
Apr
4
awarded  Teacher
Apr
4
comment Structured programming versus OO programming
So, the biggest motivator (as mentioned in my answer) for OOP is when you need to enforce modularity, and when it makes sense to have an "object" with internal state that is "asked" to do things. And for decency's sake, please don't teach these folks that OOP is the cure-all for their issues.
Apr
4
answered Structured programming versus OO programming
Feb
22
comment What do you think was a poor design choice in Java?
@greyfade: C++ exceptions are hosed. Generics in Java do what templates in C++ should be used for, and do so unambiguously. I've never seen a Java generic compiler error anywhere near as epic as some things I've seen from Boost, or even the STL.