All Posts For: Code

Nov 9 2012

My Top 5 Pry Features

Ruby ships with an Interactive Ruby Shell (IRB) that every Ruby developer has played around with at some point. It’s a great place to experiment with unfamiliar methods and running bits of code, but if you really want to dig into an object or do hardcore debugging, it can leave a lot to be desired.…

Nov 7 2012

2012 Global Day of Code Retreat

The Global Day of Code Retreat is a daylong event where developers from around the world gather in small groups to practice their craft. It’s an intense day of coding where we get to pair program with others, learn new skills and focus 100% on doing it right.…

Sep 19 2012

What is the Liskov Substitution Principle?

The Liskov Substitution Principle (the “L” in SOLID design principles), is a simple, yet powerful concept that can be used to improve your design. It states:

“if S is a subtype of T, then objects of type T in a program may be replaced with objects of type S without altering any of the desirable properties of that program.”

All this really means is that objects in a program should be replaceable with instances of their subtypes without altering the correctness of that program.…

Older posts