Reputation
1,018
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
4 10 19
Newest
 Electorate
Impact
~9k people reached

Jan
1
comment Automatic builders/chain setters for Java?
@kevincline I just introduced the Getter annotation in a separate code snippet. Thanks for the comment.
Jan
1
revised Automatic builders/chain setters for Java?
removed superfluous imports, introduced Getter annotations
Dec
26
revised What is the motivation behind the @ImplementedBy annotation in Guice?
grammar
Dec
23
awarded  Electorate
Dec
12
reviewed No Action Needed Is it better to check `c >= '0'` or `c >= 48`?
Dec
12
reviewed No Action Needed Is it better to start a Pull Request or perform a local merge commit on master?
Dec
12
reviewed Reviewed Declaring multiple licences in a GitHub project
Dec
12
reviewed Reviewed Explanation to why Counting bits set, Brian Kernighan's way works
Dec
12
reviewed Reviewed Bresenham Vs Midpoint Circle drawing algorithm
Dec
12
reviewed Reviewed How to “program to an interface”
Dec
12
comment Does it always make sense to “program to an interface” in Java?
@JeroenVannevel I agree that programming to an interface can be done when the interface is actually represented by a class. However, I don't see what benefit using TreeMap would have over SortedMap or NavigableMap
Dec
12
reviewed No Action Needed Is it reasonable to not write unit tests because they tend to get commented out later or because integration tests are more valuable?
Dec
11
comment What is meant by reuse of inheritance?
I think they don't actually use the phrase reuse of inheritance anywhere. They only say use of inheritance or reuse (as the implied context of using inheritance). That said, I agree with your answer.
Dec
11
comment Alternatives to Singletons for caching lists of data?
I think dependency injection IS adequate in this scenario. A container could manage your cache and it would be fairly easy to control the scope. You could have a cache per application, per session, per request, etc. with very little boilerplate code.
Dec
10
reviewed No Action Needed iOS Core data & NSUserDefaults
Dec
10
comment Why is PHP so frequently used on web servers?
Saying that PHP was designed as a language is an overstatement. It just sort of happened.
Dec
9
comment What's the best way to return an array as a response in a RESTful API?
If we're talking about REST, the schema does not matter as long as it's capable of providing the hypermedia controls for the discovery and manipulation of further resources based on the response alone and no other, out-of-band information... which none of the formats mentioned by the OP seems to do.
Dec
9
comment How to find hard to misspell given names?
The pragmatic approach would be to use a GUID.
Dec
7
reviewed No Action Needed What encoding are the HTTP status and header lines?
Dec
6
revised Are there CPUs that perform this possible L1 cache write optimization?
improved formatting, fixed typos