Reputation
4,920
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
1 19 41
Newest
 Announcer
Impact
~194k people reached

Jun
2
awarded  Announcer
May
18
comment Code maintenance: keeping a bad pattern when extending new code for being consistent, or not?
@supercat Fair point, however, it would be more likely that the common behavior would be defined in a base abstract class, in which case it is just a matter of either making it overrideable, or allowing to inject custom behavior in extending classes into the getRow method by defining new abstract methods.
Apr
27
accepted Is a Model Driven Architecture in Language Oriented Programming (MPS) feasible at this time
Feb
19
awarded  Nice Question
Feb
13
comment Are developers more productive at night?
A similar question arised on Cognitive Sciences SE, which might provide a more scientific take on this.
Feb
3
awarded  Yearling
Jan
29
awarded  Popular Question
Sep
30
awarded  Explainer
Jul
2
awarded  Curious
Jun
30
awarded  Nice Answer
Apr
2
awarded  Popular Question
Mar
29
awarded  Guru
Mar
25
awarded  Popular Question
Feb
4
awarded  Great Answer
Feb
3
awarded  Yearling
Jan
10
awarded  Announcer
Nov
19
awarded  Good Answer
Oct
13
comment In an optimal software design, would you ever need to throw InvalidOperationException?
@Steve314 I've never heard of a compilation never 'halting'. Could you clarify please?
Sep
12
comment In an optimal software design, would you ever need to throw InvalidOperationException?
@rwong I know, this is a rather theoretical question. :) I know in practice the exception does make sense, but then again, who says practice is 'optimal'. ;p
Sep
12
comment In an optimal software design, would you ever need to throw InvalidOperationException?
"Whereby the developer would be informed by this exception that his/her code is structured incorrectly." That's how I understood the statement, ... the (rather philosophical) question is whether the ideal API would ever allow you to structure it incorrectly. A classic case is where you expect function calls to be called in order, which could be handled by not allowing to call the second function before the first through separate interfaces.