262 reputation
139
bio website
location Delhi
age 25
visits member for 2 years, 4 months
seen Sep 10 at 9:18

I maintain a blog on software development at http://ksharma.in/blog


Aug
27
awarded  Nice Question
Mar
18
asked When to use python function nesting?
Feb
22
awarded  Famous Question
Jan
23
accepted Why does java.util.Calendar use static factory methods?
Jan
23
comment Why does java.util.Calendar use static factory methods?
@BorisTreukhov they are almost always better than constructors. That's not the argument here. Its factory methods versus separate factory classes.
Jan
22
comment Why does java.util.Calendar use static factory methods?
@amon Not really. Calendar in this example is not a singleton.
Jan
22
comment Why does java.util.Calendar use static factory methods?
Are you sure Calendar is a singleton? System.out.println(Calendar.getInstance() == Calendar.getInstance()) prints false.
Jan
22
revised Why does java.util.Calendar use static factory methods?
edited title
Jan
22
asked Why does java.util.Calendar use static factory methods?
Aug
9
revised What are the advantages of myBatis over Hibernate?
deleted 152 characters in body
May
11
awarded  Yearling
Apr
30
revised How to design highly scalable web services in Java?
removed excess chatter, focused the question onto a single point
Apr
30
awarded  Notable Question
Apr
12
awarded  Notable Question
Mar
27
awarded  Scholar
Mar
27
accepted What are the advantages of myBatis over Hibernate?
Jan
16
awarded  Popular Question
Nov
21
awarded  Popular Question
Jul
25
asked What are the advantages of myBatis over Hibernate?
Jul
24
comment Reasons NOT to use JSF
@VainFellowman You've already summed up most of what's wrong with JSF. Perhaps you should be asking in what case should one use it, to understand it from both sides.