openjscad credit

3D Printing The Future

August 3, 2015 / 0 comments

I’ve read Scott Hanselman’s blog for a while now and he’s written a few articles on 3D printing, but I mostly skimmed over these because, although reasonably interesting, they were quite abstract for me having never done any 3D printing and not owning a working 2D printer, let alone a 3D one. However, after a…

Read more →

Specific-Generic Pattern

May 6, 2014 / 0 comments

Sometimes when dealing with families of classes you want a method which can be completely generic when dealing with collections of the family and specific when dealing with a specific class. In this example we’re going to look at the (very simplified) food chain as an example – rabbits eat grass, foxes eat rabbits, badgers…

Read more →

The Concrete Hidden Property Pattern

May 5, 2014 / 0 comments

In a project I’ve been working on recently, I’ve gone a bit overboard on generics. As such I’ve come up with a couple of patterns to help me out – these probably already exist but I don’t know the names for them. Say we have a property Animal of type IAnimal in my base class…

Read more →

Non-technical explanation of interfaces

April 28, 2014 / 0 comments

I came up with this analogy for interfaces at my previous job at Avid Nano to explain to my non-programmer boss what it was all about. I was pretty happy with what I came up with so here it is: Every day objects in life have certain properties to them which are common with other…

Read more →