Welcome to Duncan White's Practical Software Development (PSD) Pages.

I'm Duncan White, an experienced and professional programmer, and have been programming for well over 30 years, mainly in C and Perl, although I know many other languages. In that time, despite my best intentions:-), I just can't help learning a thing or two about the practical matters of designing, programming, testing, debugging, running projects etc. Back in 2007, I thought I'd start writing an occasional series of articles, book reviews, more general thoughts etc, all focussing on software development without all the guff.

See all my Practical Software Development (PSD) Pages

picture of D. White


Simlating OOP in ANSI C, part 2

Our Chosen Variant of OOP

Now we have our example to implement, let's describe the particular variant of OOP that is - Goldilocks like - just right for our purposes: general enough to cope, but simple enough to allow us to focus on the important stuff. Here I've chosen to throw out all the C++ and Java junk in favour of the rather pure and simple OO model in Simula-67, the original OO language - even older than Smalltalk, often wrongly claimed to be the first: Right, so let's get started.

Implementing the Vector2 class in ANSI C

Onto Part 3


d.white@imperial.ac.uk
On to the third part of this article Back to the first part of this article Back to PSD Top
Written: July 2014