Category Archives: Design & Architecture

Object-oriented design, modularity, patterns, models and UML.

Missing Vital Content

After reading Moderately Valuable Cliché, reader Nicholas Levin got in touch to recommend that I look at the back of my Smalltalk-80 books. Here’s the blue one. The first book mentioned in “Other books in the … Series” is the … Continue reading →

Posted in Design & Architecture | Comments Off on Missing Vital Content

Moderately Valuable Cliché

In part 1 of the MVC story, I examined “Thing-Model-View-Editor”, a pattern[*] extracted by Trygve Reenskaug’s work in Smalltalk-76. By the time Smalltalk-80’s hot air balloon set sail from the ivory tower, there was already a structure called Model-View-Controller. Part … Continue reading →

Posted in Design & Architecture | Comments Off on Moderately Valuable Cliché

Set the settings set

The worst method naming convention Object-Oriented programming is set{Thing}(). And no, C# doesn’t escape my ire for calling it Set{Thing}(), nor does Smalltalk for calling it {thing}:, though that does handily demonstrate how meaningless set is. OK, so set isn’t … Continue reading →

Posted in Design & Architecture | Comments Off on Set the settings set

Meaningless Vapid Catchphrase

On the 4th December 2013, I said: Urge to search the archives for papers on Model-View-Controller and write an essay on its ever-changing meaning in programmer discourse. Do you have any idea how much work that is? I do, now. … Continue reading →

Posted in Design & Architecture | 2 Comments

Standing at the Crossroads

A while back I wrote Conflicts in my Mental Model of Objective-C, in which I listed a few small scale dichotomies or cognitive dissonances that plagued my notion of my work. I just worked out what the overall picture is, … Continue reading →

Posted in Design & Architecture | Tagged | Leave a comment

By your _cmd

This post is a write-up of a talk I gave at Alt Tech Talks: London on the Objective-C runtime. Seriously though, you should’ve been there. The Objective-C runtime? That’s the name of the library of C functions that implement the … Continue reading →

Posted in Design & Architecture | Comments Off on By your _cmd

Choosing the correct openings and closures

Plenty of programmers will have heard of the Open-Closed Principle of object-oriented design. It is, after all, one of the five SOLID principles. You may not, however, have seen the principle as originally stated. You’ve probably heard this formulation by … Continue reading →

Posted in Design & Architecture | Leave a comment

NIMBY Objects

Members of comfortable societies such as English towns have expectations of the services they will receive. They want their rubbish disposed of before it builds up too much, for example. They don’t so much care how it’s dealt with, they … Continue reading →

Posted in Design & Architecture | Leave a comment

Garbage-collected Objective-C

When was a garbage collector added to Objective-C? If you follow Apple’s work with the language, you might be inclined to believe that it was in 2008 when AutoZone was added as part of Objective-C 2.0 (the AutoZone collector has … Continue reading →

Posted in Design & Architecture | Tagged , , | Leave a comment

At the old/new interface: jQuery in WebObjects

It turns out to be really easy to incorporate jQuery into an Objective-C WebObjects app (targeting GNUstep Web). In fact, it doesn’t really touch the Objective-C source at all. I defined a WOJavascript object that loads jQuery itself from the … Continue reading →

Posted in Design & Architecture | Tagged , | Comments Off on At the old/new interface: jQuery in WebObjects