24 Feb '12, 5pm

Don't refactor everything!

Don't refactor everything!

February 24, 2012 Tagged: metrics refactoring turbulence Comments (View) Watch for turbulence How important is the refactoring you’re working on? Michael Feathers has a metric you should consider when deciding: plot the complexity against the churn. Chad Fowler’s turbulence gem does just that. The “complexity” is some arbitrary number of how tricky the code is to read; this can range from the amount of indentation to the amount of metaprogramming, and everything in between. This is computed using flog . “Churn” simply refers to how often a file changes; a file that’s changed a bunch has high churn. Highly-churned files should be easy to modify, since people do it a ton. This is computing using git. Using it is simple: drop this in your Gemfile : group :development do gem 'turbulence' end Then run it: bundle exec bule Watch out, it’ll open a new tab in the browser for you: ...

Full article: http://robots.thoughtbot.com/post/18193128573/watch-for-t...

Tweets

Prove climate change doesn’t exist, get an awesome gun

Prove climate change doesn’t exist, get an awes...

grist.org 21 Feb '12, 4pm

Todd Tanner will give you his gun when you pry it from his cold, convinced-of-the-nonexistence-of-climate-change hands. Ta...

NYC Everything: Your Guide to 2012 #NERBC featu...

sprudge.com 24 Feb '12, 5pm

New York City. From Jay-Z to Fievel Mousekewitz , it has been a land of challenge, opportunity, and promise, a place where...

Tell us everything, Najib — Sam Peh

blog.drdzul.com 25 Feb '12, 4am

Tell us everything, Najib — Sam Peh February 25, 2012 TMI – February 25, 2012 Once again, Prime Minister Najib Razak disap...

Tell us everything, Najib - by Sam Peh (TMI)

blog.limkitsiang.com 25 Feb '12, 1am

— Sam Peh The Malaysian Insider February 25, 2012 FEB 25 — Once again, Prime Minister Najib Razak disappoints with a ridic...

Rolex Forums Latest Discount on Green Sub (The ...

rolexforums.com 25 Feb '12, 3am

I'm close to getting the Hulk. From everything I've read so far, nobody has gotten anything off list for this watch. I was...

Do We Have The Language Needed To Grant Dolphin...

treehugger.com 23 Feb '12, 7pm

At the largest annual science conference in the world, finished a few days ago in Vancouver, the call was again made for a...

#sgevents Things to watch - FighterZone Kickboxing World Series: Sat 25 Feb Watch 12 international kickboxers ba...

#sgevents Things to watch - FighterZone Kickbox...

timeoutsingapore.com 23 Feb '12, 4pm

Watch 12 international kickboxers battle it out for prizes that total $80,000. The main event: Dutch fighters Andy Souwer ...

Everything you know about dieting is wrong: US scientists: VANCOUVER, Canada: Everything you know about dieting

Everything you know about dieting is wrong: US ...

channelnewsasia.com 20 Feb '12, 2am

VANCOUVER, Canada: Everything you know about dieting is wrong, say US scientists who have devised a new formula for calcul...

Declare 'Human' Rights For Dolpins & Whales, Scientists Urge | Care2 Causes

Declare 'Human' Rights For Dolpins & Whales, Sc...

care2.com 23 Feb '12, 7am

A session this week at the world’s largest annual science conference presented the case for considering whales and dolphin...

GrowSmartBusiness: Need Just a Little Business ...

networksolutions.com 23 Feb '12, 1pm

Need Just a Little Business Financing? Here’s Where to Look February 23rd, 2012 :: Maria Valdez Haubrich By Maria Valdez H...

Bethenny Frankel talks marriage problems on 'Ev...

sfluxe.com 24 Feb '12, 11am

Bethenny Frankel’s marriage problems come to a head in the latest season of her Bravo show Bethenny Ever After . In a prev...

Rolex Forums Latest How to pronounce your watch:

rolexforums.com 19 Feb '12, 2pm

Rolex & Other Watch Links & Resources General Topics Open Discussion Forum The Meeting Point Jokes & Cartoons Picture & Vi...

“@GolfweekWildMan: Wildman's Corner: 5 teams to watch: BSU coming in at no. 5 team to watchout for this spring!

“@GolfweekWildMan: Wildman's Corner: 5 teams to...

golfweek.com 23 Feb '12, 5pm

In only his second year as head coach of the Bulls, Chris Malloy has made USF relevant not only in the Sunshine State but ...

Enterprise SEO: 4 Trends to Watch in 2012

Enterprise SEO: 4 Trends to Watch in 2012

searchenginewatch.com 20 Feb '12, 12pm

What SEO trends are important to watch in 2012 for enterprise-level SEO? Many colleagues, clients, and prospects are keenl...

Photovoltaics: 11 Trends to Watch in 2012 | Alt...

altenergystocks.com 23 Feb '12, 12am

Even if only the four or five largest polysilicon manufacturers in China survive, the global production volume in 2012 cou...