Articles tagged 'oo'
-
Connascence and Inverting Dependencies
Recently Andre Bernardes wrote about inverting dependencies and a refactoring that he made in the Ruby Object Mapper codebase.
It’s a great article and if you haven’t read it yet it won’t take you long. Go on, I can wait.
The original code, however, doesn’t simply provide a great example of code...
Read more… -
Learning by Teaching
For the last few weeks I’ve been working with Kickstart Academy teaching the On The Beach ruby academy. We’ve been introducing a group of graduate and experienced developers to software development using ruby, bdd and git. Much of the teaching in the academy was based on ideas from Training from the...
Read more… -
Delegation is not inheritance
On the train home last night I watched the excellent Jim Weirich Play-by-play from PeepCode.
During the screencast Jim develops a library that “protects against unauthorized data model modification by users in less-privileged roles.” The screencast provides a great insight into the way Jim approaches...
Read more…