Posts Tagged ‘inheritance’

Clojure inheritance

Sunday, June 20th, 2010

So here’s ye old car example. Pretend we have a class Car in (insert your favourite OO language here), then we extend the car class with Sportscar and Pickup, the door-count method of the Car class will return “I have four doors” and the car-description method is overridden in the two extending classes.... Read More

Prototyping with JavaScript

Thursday, October 23rd, 2008

I think I’ve finally managed to get a handle on prototyping with JavaScript, after all that lisping and jQuerying it turned out to be a formality in the end. I have to thank Steve for finally getting my ass off the couch though.... Read More