1 points · by Tarski · 16y ago · 0 comments
No comments yet.
Enums are Brittle
We all know Integer constants are brittle Consider this example from StackOverflow today:- Calendar date = Calendar.getInstance(); date.set(2010, 03, 7); if(date.get(Calendar.DAY_OF_WEEK) == Calend…
grepmonster