15 May '12, 6pm

Types of Coupling

May 15, 2012 Tagged: ruby coupling code smells Comments (View) Types of Coupling Those of you coming from a Google search are about to be disappointed: this is a post about types of coupling in programming . Coupling refers to the degree to which components in your program rely on each other. You should generally seek to minimize this property, though you’ll see it’s impossible to eliminate entirely. Here are a few types of coupling, ordered by severity (first is worst): Pathological Coupling Your class reaches inside another class and reads (or, perish the thought, changes) its instance variables. You are literally pathological and deserve the pain this will cause you. class NuclearLaunchController def initialize(launch_codes) @launch_codes = launch_codes end end class ExtremelyBadIdea def initialize(nuclear_launch_controller) @launch_controller = nuclear_launch_controlle...

Full article: http://robots.thoughtbot.com/post/23112388518/types-of-co...

Tweets

17 Types of Link Spam to Avoid

seomoz.org 16 May '12, 5am

And what is Google going to do when they finish hunting down each of these forms of manipulative links? I'm guessing they ...

@mEiHodotcom

groupon.sg 15 May '12, 2pm
Bored With Your Long Run? Get Stronger by Running Different Types of Long Runs #running

Bored With Your Long Run? Get Stronger by Runni...

runaddicts.net 16 May '12, 6am

Interested in writing for RunAddicts.net? Get started now! Ever since I started running 12 years ago, coaches and other ru...

Can There Really Be 85 Types Of Unnatural Links?

searchengineland.com 08 May '12, 2pm

As far as the Alaska halibut fishing site that may have seen a spike because of the link you provided in #1 goes, it is li...

TheBagLady> The Great Handbag Guide: The main types of bags: Confused between the differences between... (#fashion)

TheBagLady> The Great Handbag Guide: The main t...

thebaglady.tv 18 May '12, 4pm

I'm a big fan of Doctor's Bags, which are deep, spacey bags with a solid structure. This Mischa Barton bag above is my han...