Reputation
8,675
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
2 39 43
Newest
 Nice Answer
Impact
~282k people reached

Jun
30
awarded  Nice Answer
Jun
30
awarded  Good Answer
May
29
awarded  Guru
May
23
awarded  Nice Answer
Dec
12
comment Who extends interfaces? And why?
@overexchange: I too don't get what you are trying to say. But it definitely seems to be unrelated to this question and answer. The question is about why the generics syntax uses extends when (potentially) referring to interfaces. Your comment seems to be about the unrelated topic of "should I use interfaces or classes". If you've got a specific question about that, please post that separately.
Sep
30
awarded  Explainer
Sep
16
awarded  Yearling
Jun
13
comment Summary of differences between Java versions?
@StevenL: very good point, not sure why I missed that. Edited now.
Jun
13
revised Summary of differences between Java versions?
added 16 characters in body
Apr
16
awarded  Good Answer
Apr
16
revised Is having two conditions in an IF statement faster than having two separate IF statements?
deleted 1 characters in body
Feb
26
awarded  Enlightened
Feb
26
awarded  Nice Answer
Jan
21
comment Are design patterns essential for good code?
Another related one: How to determine whether Design Pattern is implemented correctly?.
Jan
14
awarded  Good Answer
Jan
13
comment Can we live without constructors?
@Geek: a constructor can inspect its argument and decide if those would result in a working object (for example if your object needs a HttpClient then it checks if that parameter is non-null). And if those constraints are not met, then it can throw an exception. That's not really possible with the construct-and-set-values approach.
Jan
13
awarded  Nice Answer
Jan
13
comment Can we live without constructors?
Just as a note: the factory patern @superM mentioned is one way to implement Inversion of Control (Dependency Injection) is another one.
Jan
13
reviewed Approve How do you move beyond code examples without a project?
Jan
13
answered Can we live without constructors?