So, in an effort to broaden my horizons, and following the maxim “learn a new language every year” (and theorising here that Classical Latin does not count), I decided that I will learn the basics of Objective-C. After I’ve used a Mac for many years and it’s about time I learned to program the thing [...]
Tuesday, November 8, 2011
You know, just because Java is going to gain a switch statement that works on java.util.String still doesn’t make it right. It’s still a code smell for an OO design fail. Although the diamond syntax and lambdas are way overdue (see article). Java is not the new COBOL | Craig Tataryn’s .plan: A switch statement [...]
Extends is the most misused keyword in the Java lexicon. In my constant and probably losing battle against poor design, I keep finding systems with a rather rich abundance of implementation inheritance. I’ve actually recently seen systems with seven or more levels of inheritance, where just about every object extends some class that (eventually) extends [...]
Tuesday, January 13, 2009
Here’s a piece of advice I definitely can take to heart. From Google testing blog: *Clean Code Talk Series* *Topic: Don’t Look For Things!* http://googletesting.blogspot.com/2008/11/clean-code-talks-dependency-injection.html Recently I’ve been doing maintenance work on a system that has a lot of custom-rolled code to do stuff like, look up EJB Home and Remote references. Even though parts [...]