29 Apr '13, 3pm

And just like that, @manhattanmetric out-arrowed me completely

The video starts out by explaining that if statements like this one might be a sign of bad design, and that this piece of code will probably grow over time and become an eyesore. While I don’t think the possibility of something growing over time and becoming an eyesore sometime in the future is a good reason to start making the code more extensible, I do believe that this code could use some refactoring.

Full article: http://jeffkreeftmeijer.com/2013/on-the-death-of-ifs/#com...

Tweets

How to refactor a long if/elseif chain: "On the...

jeffkreeftmeijer.com 29 Apr '13, 2pm

The video starts out by explaining that if statements like this one might be a sign of bad design, and that this piece of ...

WHAT’S IT LIKE TO BE... Prince Childs, @MissAmyChilds's pug...

WHAT’S IT LIKE TO BE... Prince Childs, @MissAmy...

tatler.com 29 Apr '13, 2pm

I've had my collar vajazzled. I've had my nails painted. I've got some wicked doggy aftershave from Harrods. But I'd never...

Why do conservatives like to waste energy?

Why do conservatives like to waste energy?

grist.org 30 Apr '13, 10am

Back in 2011, Rep. Michele Bachmann (R-Minn.) declared war on energy-efficient lightbulbs, calling “sustainability” the ga...

A Quick Nine: College football coach you'd most like to play golf with

A Quick Nine: College football coach you'd most...

pga.com 30 Apr '13, 1pm

Some of our PGA.com staff were able to check out some of college football's top coaches in the Chick-fil-A Bowl Coaches Ch...

DEAD ON --- 15 Ways Sneakerheads Are Like Star Wars Fan Boys via @ComplexMag

DEAD ON --- 15 Ways Sneakerheads Are Like Star ...

complex.com 29 Apr '13, 10pm

We already broke down the connection between Apple fan boys and sneakerheads a while back but today we're taking a look at...

This is what i've been thinking about! Serious. 'Green death: Why eco burials are on the rise' #green #eco #death

This is what i've been thinking about! Serious....

hippyshopper.com 22 Apr '13, 12pm

It's perhaps not a subject we want to think too much about, but it seems more of us are deciding to reduce our carbon foot...

The Alps are not just for Winter…

The Alps are not just for Winter…

aluxurytravelblog.com 26 Apr '13, 11pm

The Alps are not just for Winter… By Ceri Tinley on Apr 27, 2013 in Europe , Family Travel , France , Regions , Speciality...

How to wear sneakers: 10 Style Panel tips for tackling this athletic trend without looking like you’ve hit the gym

How to wear sneakers: 10 Style Panel tips for t...

fashionmagazine.com 30 Apr '13, 8pm

How to wear sneakers: 10 Style Panel tips for tackling this athletic trend without looking like you’ve just hit the gym By...

Gold Could Collapse Just Like Bitcoin Did

businessinsider.com 28 Apr '13, 2pm

All bets are off during the apocalypse. I’m pretty sure those dreams of buying a loaf of bread with your gold coins during...

Just stick this portable outlet to your window to start using solar power

Just stick this portable outlet to your window ...

grist.org 29 Apr '13, 4pm

We have seen a lot of solar chargers in our day. And among of all of them, this is the first one we’ve seen that we will d...

Pairing like a Pivot via @pivotallabs

pivotallabs.com 26 Apr '13, 7pm

Pairing is an amazing activity if you and your pair can do it right, it is one of the things we value most here at Pivotal...

Build a solar cooker for just $5

Build a solar cooker for just $5

treehugger.com 29 Apr '13, 4pm

© sclausson at Instructables A lot of the solar technology that hits the news tends to be a bit on the high-tech side, suc...

What a Penguin Recovery Looks Like #SEO

seomoz.org 26 Apr '13, 7pm

Five years ago, I purchased a domain name from a competitor who was taking their site down. We simply created a 301 redire...

What a Penguin Recovery Looks Like

seomoz.org 25 Apr '13, 3pm

Five years ago, I purchased a domain name from a competitor who was taking their site down. We simply created a 301 redire...

Nitrogen fertilizer is bad stuff — and not just because it could blow up your town

Nitrogen fertilizer is bad stuff — and not just...

grist.org 25 Apr '13, 7pm

Officials in Texas continue to investigate the cause of the explosion last week at West Fertilizer that killed 15 people a...