Home > Point2 - Technical > RYE: Repeat Yourself Enough

RYE: Repeat Yourself Enough

RYE

RYE

As is often the case, I found myself discussing the relative merits of applying the DRY principle in code, because there was some overlap between two components doing similar things. I have long held the view that you should repeat yourself as many times as you need to in order to properly understand the problem you are trying to encapsulate in your abstraction. Without this, you are destined to repeatedly revisit your abstraction.

One of my former colleagues Charles Lowell talked about this years ago and as it turns out, he blogged about it here.

By: Chris Tarttelin

About these ads
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: