Tag: OOP

OOP file_get_contents

I’m happy to announce the immediate availability of FileFetcher 4.0.0. FileFecther is a small PHP library that provides an OO way to retrieve the contents of files. What’s OO about such an interface? You can inject an implementation… Read More

Why Every Single Argument of Dan North is Wrong

Alternative title: Dan North, the Straw Man That Put His Head in His Ass. This blog post is a reply to Dan’s presentation Why Every Element of SOLID is Wrong. It is crammed full with straw man argumentation… Read More

Object Orientated Lua code

During the last few weeks I’ve been refactoring some horrible Lua code. This has been a ton of fun so far, and I learned many new things about Lua that I’d like to share. Such Horrible Code The code… Read More

Missing in PHP7: Collections

This is the fourth post in my Missing in PHP7 series. The previous one is about Value Objects. In this post I’ll outline some problems PHP has with regards to collections, the implications of those problems, and a… Read More

Missing in PHP7: Value objects

This is the third post in my Missing in PHP7 series. The previous one is about named parameters. A Value Object does not have an identity, which means that if you have two of them with the same data,… Read More

Missing in PHP7: Named parameters

This is the second post in my Missing in PHP7 series. The previous one is about function references. Readability of code is very important, and this is most certainly not readable:

You can make some guesses, and in a… Read More

The Liskov Substitution Principle

I have a number of web-based presentations online on the software craftsmanship topic. You can find these on the software craftsmanship page of my website. I’ve just written an abstract for a presentation on the so-called Liskov Substitution… Read More

Presentation: The S in STUPID

In about two weeks, I will be giving a presentation about static code at 0×20, the Gent hackerspace. This is a follow up on the Clean Functions presentation I gave there about  a month ago. Like that one,… Read More

A deconstruction of object orientated time

I just finished watching the recording of a keynote at the JVM Languages Summit 2009 titled “Are we there yet? A deconstruction of object orientated time“, which I think is one of the most interesting presentations about programming… Read More