Ricky's technical blog

General musings on programming languages, and Java.

Saturday, May 15, 2010

Refactor: Lazy Initialisation to Eager

›
A field is being initialised when used, rather than when the object is created. Extract the initialisation into a separate method that ret...
Wednesday, April 28, 2010

Using types to help refactor

›
In some real code, I changed an int that was used to index into an array of ViewerPanels, so that the ViewerPanel was passed around instead ...
1 comment:
Monday, January 18, 2010

JNI + applets = pain!

›
I mostly work on GUI software for controlling and viewing video from security cameras. The software is written in Java, and mostly written ...
5 comments:
Tuesday, December 08, 2009

Deleting code, what first?

›
I have about 200kloc of Java code to work with, and I often stumble across bits that are more complex than they need to be, costing me time ...
4 comments:
Monday, November 30, 2009

My co-worker wouldn't get it

›
I'm continually unimpressed by a certain form of argument that I've seen in many places, but especially in the continuing discussion...
6 comments:
Tuesday, October 27, 2009

100 Bugs (ok, tickets) in 100 Days

›
I've now closed 100 tickets in the last 100 calendar days at work , which might not mean a lot, but it's been a personal target of m...
Saturday, September 26, 2009

Which language shall we learn?

›
Hi Jose, We decided, while drinking an overly-priced red wine the other night, that I'd help you to learn how to program, but without m...
11 comments:

Making Methods Testable

›
I'm going through my old drafts and deleting or publishing them. This one I no longer agree with, I'd rather rewrite the methods to...
›
Home
View web version

About Me

Ricky Clarkson
A salsa dancing, DJing programmer from Manchester, England.
View my complete profile
Powered by Blogger.