Submitted by alastairs on 25 October 2011 - 9:28pm
I am going to open this blog post with a bold statement: GiveCamp UK was one of the greatest experiences of my life. Here's my story.
Submitted by alastairs on 19 November 2010 - 10:33pm
Back in November, I attended the Agile Testing and Behaviour-Driven Development Exchange (BDDX) at Skills Matter in London. Here is my very delayed write-up of the event.
Submitted by alastairs on 1 May 2010 - 9:32pm
This second and final post on high-quality routines will cover good routine names and guidelines for parameter usage, as well as touching on routine length and special considerations for functions vs procedures.
Submitted by alastairs on 30 April 2010 - 11:05pm
Last time, I rounded off the series-within-a-series on class design and usage, Working Classes. The next topic for dissection is routine design, creation and usage, and this topic will be handled over two posts. This post will form a bit of an introduction and cover design considerations for high-quality routines through the classification of different kinds of routine cohesion. So, without further ado, let's get cracking!
Submitted by alastairs on 28 April 2010 - 10:36pm
This fourth and final post in the mini-series on Working Classes covers the reasons to create a class. These reasons are many and varied, but fall quite neatly into a number of groups. These groups are: modelling concepts, managing complexity, hiding information, building for the future, and classes to avoid. This post should be rather shorter than the recent ones, and hopefully more digestible as a result.
I'm also experimenting with a new method of writing up my notes that I hope will make this post more coherent; I feel that some of my recent posts in the Code Complete series have been almost a sequence of short paragraphs and possibly haven't hung together too well. I'm interested to know whether you think this post is an improvement, dear reader.
Submitted by alastairs on 3 April 2010 - 4:23pm
There are a number of design and implementation issues to consider when working with classes, not least dealing with inheritance. This third post in the series of four on "Working Classes" covers my take on Steve McConnell's thoughts on containment, inheritance, member functions and data, and constructors.
Submitted by alastairs on 24 December 2009 - 7:33pm
This post represents the second instalment taken from chapter 6 of Code Complete, entitled "Working Classes". This post covers the issues to consider when designing class interfaces, illustrated with code samples. An important piece of information to keep in mind when reading this post is that McConnell is talking in terms of the public interface exposed by a class through its public members. While an interface (as defined in Java or C#) also fits this bill, some of the advice given here is specific to the idea of a class interface, and not a standalone interface.
If you're after the executive summary (this is quite a long post, after all), there are only two things you must build into your class interfaces: good abstraction and good encapsulation. Read on to find out more.
Submitted by alastairs on 24 December 2009 - 12:01pm
Another day, another Code Complete blog post. I might even clear two today, looking at the number of notes I have for this one.
Submitted by alastairs on 23 December 2009 - 3:54pm
Wow, it's been quite a while since I updated my Code Complete series, and I've got quite the backlog to wade through now! Looking at the last save date on this post, it's been sat around for three months waiting to be written, so I'm sorry for being so slack, and I'll get on with writing it now...
This post covers some key design practices, and is the last post on Chapter 5, Design in Construction.
Submitted by alastairs on 8 November 2009 - 6:56pm
On Wednesday 28 October 2009, Joel Spolsky and Jeff Atwood brought their Stack Overflow sideshow to London's Kensington Town Hall, and I was lucky enough to be one of the ~1000 people attending.
Pages