Archive for September, 2005
Monthly Archive
Thursday, September 15th, 2005
Personal Info
Name: Derek Kaczmarczyk
Hometown: Chicago, IL
I want to be able to find myself in Google BlogSearch
:)
No Comments » - Posted in Personal by dkaz
Wednesday, September 7th, 2005
Superclass of a class’s metaclass
A co-worker of mine found this hilarious quote by Caleb Drake:
“…the superclass of a class’s metaclass must be the metaclass of the class’s superclass.” - Caleb Drake, Object-Oriented Programming with C++ and Smalltalk (475), 1998 by PRENTICE HALL, Inc.
1 Comment » - Posted in Smalltalk, Programming by dkaz
Thursday, September 1st, 2005
Hardcoded Class Names
Instead of hardcoding class names in your Java code (e.g. String clz = “com.foo.ReportFactory”;),
try generating it (e.g. String clz = ReportFactory.class.getName();) - it’s a lot less brittle!
