3,753 reputation
1336
bio website heinzi.at
location Vienna, Austria
age 34
visits member for 2 years, 11 months
seen yesterday

May
29
awarded  Nice Answer
May
29
revised Should Cross browser testing be explicitly mentioned in the scope of a project?
added 229 characters in body
May
29
revised Should Cross browser testing be explicitly mentioned in the scope of a project?
added 213 characters in body
May
29
answered Should Cross browser testing be explicitly mentioned in the scope of a project?
May
29
answered Static or non-static?
May
28
awarded  Popular Question
May
25
answered Cold, neutral attitude to programming languages - sign of a pro developer or not
May
23
answered Should I parse an email template before or after placing it in the queue?
May
21
awarded  Popular Question
May
14
awarded  Popular Question
May
10
awarded  Excavator
May
10
revised Did the developers of Java consciously abandon RAII?
unmatched parenthesis
May
4
accepted I should have used a factory method instead of a constructor. Can I change that and still be backwards-compatible?
May
4
comment I should have used a factory method instead of a constructor. Can I change that and still be backwards-compatible?
+1, nice option. I still prefer option 2, though, since it allows me to access XmlDataSource-specific functionality by explicitly instantiating XmlDataSource.
May
4
awarded  Nice Question
Apr
29
comment I should have used a factory method instead of a constructor. Can I change that and still be backwards-compatible?
@pdr: 1. Every change to method signatures has to be made at one more place. 2. I can either make the Impl classes inner and private, which is inconvenient if a client wants to access specific functionality only available in, e.g., an Xml data source. Or I can make them public, which means that the clients now have two different ways of doing the same thing.
Apr
29
revised I should have used a factory method instead of a constructor. Can I change that and still be backwards-compatible?
syntax
Apr
29
revised I should have used a factory method instead of a constructor. Can I change that and still be backwards-compatible?
added 201 characters in body
Apr
29
asked I should have used a factory method instead of a constructor. Can I change that and still be backwards-compatible?
Apr
16
comment Why is String immutable in Java?
Technically, it's not a duplicate, but Eric Lippert gives a great answer to this question here: programmers.stackexchange.com/a/190913/33843