Monthly Archives: August 2012

Good habits

Consider this quote by Aristotle: “Excellence is an art won by training and habituation: we do not act rightly because we have virtue or excellence, but we rather have these because we have acted rightly” Wow. If this is a true statement (and I believe it is), then a man ought to build his life [...]

Posted in Abstract, Goals, Philosophy, Self Improvement | 1 Comment

The fire

A warm fire, a cool night; your lips on the tea cup. A savory liquid fills the soul like early morning light. These years have been dark; despair an old friend. A fortitude beats yet inside – a muse that inspires, a desire to fight. Fuel given, the fire builds. This tiny house a beacon, [...]

Posted in Poetry, Self Improvement | 3 Comments

Traits, Exceptions, and Better Automated Tests

I really, really dig 5.4′s traits. Let’s review: Through the ‘use’ keyword, traits let you include shared functionality in a class without relying on inheritance or encapsulation of another class. With the exception of declaring static variables (you can’t), and referencing parent (will call the class you’re using the trait in), traits behave just like [...]

Posted in PHP, Programming | Leave a comment

Traits + Interfaces in PHP 5.4 – The Perfect Team

PHP has been getting consistently better over the past few years. One new feature that I’m really pleased with is traits, which is similar to multiple inheritance in Java, friend classes in C++ or mixins in Ruby and Python. Basically, traits allow your classes to share functionality without constructing any objects or inheriting from any [...]

Posted in PHP, Programming | Comments closed


For the past few months, I’ve been exploring software design patterns, both at their roots and in their modern implementations. I’ve been exploring new languages and deepening my understanding of the languages that I already use. Man can I ever tell ya, it’s been exhilarating. I started reading a new book last night, given to [...]

Posted in Abstract, Computer Science, Programming, Self Improvement | 5 Comments