Category Archives: Programming

Comparison of OrderedCollections in Smalltalk, Java, Objective-C, Ruby, Python, and C#

In my last post, I compared the collections classes at a high level. Now I’m diving into the one that is most often used, the OrderedCollection. What’s an OrderedCollection? It is the collection class in Smalltalk that supports ordering. Seems … Continue reading

Posted in Cocoa, Desktop Java, Programming, Rails | 2 Comments

Comparison of Collections in Smalltalk, Java, Objective-C, Ruby, Python, and C#

Why look at collection classes? Well, after reading a bit about the language syntax and writing “Hello World”, I think the next thing you should learn about a language/framework is its Collections classes. Its one of the things that makes … Continue reading

Posted in Cocoa, Desktop Java, Programming, Rails | 2 Comments

Project Post-mortems

Post-mortem (noun) – what a good programmer writes after he’s released a product. Also known as project retrospective or after-development report. Here’s some thoughts on the post-mortems by Gus on VoodooPad 2.0 and Brent on MarsEdit 1.0 (which was spun … Continue reading

Posted in Mac OS X, Programming | 2 Comments

Proposal to reduce repetition with Swing and SWT listeners

DRY – Don’t Repeat Yourself We know that this is good, since it reduces code maintenance, so why do we persist with writing listeners like this: (Note that this is example is written with SWT; Swing looks almost the same.) … Continue reading

Posted in Desktop Java, Programming, SWT, Swing | 2 Comments

Back from a week of studying Cocoa

As a wise man (Brent Simmons of NetNewsWire fame) once said in a blog post explaining MySQL to Frontier users: “Old programmer’s philosophy: if you work primarily (or exclusively) in one environment, it’s a good idea to learn about others. … Continue reading

Posted in Cocoa, Programming | 6 Comments

No Fluff Just Stuff

I spent the last few days at what’s called either a) the Northern Virginia Software Symposium (the boring name) or b) No Fluff Just Stuff (the cool name.) Why “No Fluff, Just Stuff”? Well, its all technical sessions by developers … Continue reading

Posted in Desktop Java, Programming | 1 Comment

Hello World!

With every new language you learn, you really should learn how to write “Hello World” in it. That’s how I’ve done it ever since I learned how to write in BASIC on my dad’s Timex Sinclair. I think I inherited … Continue reading

Posted in Programming | Comments Off