28 Feb '14, 6pm

I DRY-ed Up My Code and Now It's Hard to Work With. What Happened?

I DRY-ed Up My Code and Now It's Hard to Work With. What Happened? Posted by justinweiss on February 28, 2014 — 0 comments “Don’t Repeat Yourself” is one of the most valuable ideas from one of the most valuable books I read during my software development career. If you can refactor away duplicate code, you will produce more general, more stable code. When you start DRY-ing up your code, though, you’ll start to run into some problems: code that doesn’t handle edge cases well, code that’s too generalized and hard to read, or code that’s hard to find. If refactoring toward DRYness doesn’t work all the time, how do you know when you should refactor?

Full article: http://www.rubyflow.com/items/10636-i-dry-ed-up-my-code-a...

Tweets

How do you get to work?

army.mod.uk 28 Feb '14, 1pm

You can train for hundreds of different careers in the Army. With thousands of jobs available, there’s more than one way t...

iPHA Newsletter February 2014 out now:

PASSIPEDIA A wealth of Passive House knowledge. FORUM Where Passive House stakeholders meet. BECOME A MEMBER iPHA Members ...

Legalizing Hate in Arizona: That Happened

Legalizing Hate in Arizona: That Happened

ecosalon.com 27 Feb '14, 8am

Legalizing Hate in Arizona: That Happened by Libby Lowe on February 27, 2014 in News & Culture Column In Arizona, a bunch ...

Look for work dress?

Look for work dress?

sg-shop.com 06 Mar '14, 7am

Product Information Material: Cotton Material elastic: yes Clothing elastic: yes Inner lining: no Other accessories: no Si...

New Post: Clover Compression Socks Coupon Code

New Post: Clover Compression Socks Coupon Code

runeatrepeat.com 27 Feb '14, 6pm

Clover Compression Socks Coupon Code by runeatrepeat on February 27, 2014 Happy Thursday from your morning Monican! What y...

Travelling for work doesn't mean sacrificing st...

michellephan.com 28 Feb '14, 3am

I hope you’ve been enjoying all of the photos I posted in Part I and II of ‘My Japan Trip Highlights’ posts. Today, I’m sh...

Have one hour a week spare to have some fun? @StartupJobsAsia

Have one hour a week spare to have some fun? @S...

startupjobs.asia 03 Mar '14, 9am

We create projects for our volunteers to teach at after school coding clubs or at non-school venues such as libraries. The...

The longest-ever dry spell in Singapore

blog.dk.sg 28 Feb '14, 2pm

Singapore is currently in the midst of its longest-ever dry spell, where rain has not fallen for 27 days between Jan 13 an...

If You've Ignored Bitcoin Up Until Now, This One's For You

If You've Ignored Bitcoin Up Until Now, This On...

npr.org 26 Feb '14, 6pm

i i hide caption No, these aren't real bitcoins (just Bitcoin buttons). Fans of the virtual currency see several real bene...

@altonbrown I now know your work habits.

@altonbrown I now know your work habits.

hackerspace.lifehacker.com 26 Feb '14, 8pm

Alton Brown's status as a "celebrity chef" and host has only grown since his show Good Eats first aired on Food Network. K...

Bitcoin Donations Now Integrated into BitTorrent Client

Bitcoin Donations Now Integrated into BitTorren...

torrentfreak.com 27 Feb '14, 6pm

While content distributed via BitTorrent is almost always free (a situation most users would like to keep intact) there ha...

An excerpt from his bk. Try to ignore the subti...

leewatch.info 01 Mar '14, 3pm

A: As far as I am concerned, if she does her work as an MP, she looks after her constituents, she makes sensible speeches,...