Category Archives: Design & Architecture

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

The package management paradox

There was no need to build a package management system since CPAN, and yet npm is the best. Wait, what? Every time a new programming language or framework is released, people seem to decide that: It needs its own package … Continue reading →

Posted in Design & Architecture | Tagged | Leave a comment

In which the quantity 1/”booleans per module” is proposed as a software quality metric, and readers are left hanging.

Posted on by Graham | Leave a comment

The book “NeXTstep Programming Step One: Object-Oriented Applications” by Garfinkel and Mahoney said this about Controllers in 1993: A good rule of thumb is to place as little code in your controller as necessary. If it is possible to create … Continue reading →

Posted on by Graham | Leave a comment

Something old, something new

Sometimes, what you want out of a software system is something unexciting. Something proven to work, that’s well-understood, and has had all of the kinks smoothed out over years (or even decades) of refinement. Of course, what you get when … Continue reading →

Posted in Design & Architecture | Leave a comment

Dogmatic paradigmatism

First, you put all of your faith in structured programming, and you got burned. You found it hard to associate the operations in your software with the data upon which they act, and to make sure that the expectations made … Continue reading →

Posted in Design & Architecture | 1 Comment

On immutable data structures…?

If you write a scholarly publication and cite another one, what you say about it depends on its mutability. An article or a book can be cited by saying “this publication I’m identifying here says this”. Maybe you have to … Continue reading →

Posted in Design & Architecture | Leave a comment

*-Oriented Programming

Much is written about various paradigms or orientations of programming: Object- (nee Message-) Oriented, Functional, Structured, Dataflow, Logic, and probably others. These are often presented as camps or tribes with which to identify. A Smalltalk programmer will tell you that … Continue reading →

Posted in Design & Architecture | Tagged | 1 Comment

The death of scripting

Back in the day, when programmers knew that they couldn’t possibly think of everything somebody might want to do with a computer, there were scripts. If somebody could find enough of the pieces of the thing that they wanted to … Continue reading →

Posted in Design & Architecture | 8 Comments

Protocol-Oriented Programming in Objective-C

Hi, this is a guest post from Crusty. I’ve been doing a tour of the blogosphere, discussing Protocol-Oriented Programming. This time, Graham was kind enough to hand over the keyboard for SICPers and let me write a post here. Back … Continue reading →

Posted in Design & Architecture | 3 Comments

Functional Programming in Object-Oriented Programming in Functional Programming in Swift

The objects that I’ve been building up over the last few posts have arbitrarily broad behaviours. They can respond to any selector drawn from the set of all possible strings. As with all art, beauty is produced by imposing constraints. … Continue reading →

Posted in Design & Architecture | Leave a comment