DRY = Dont Repeate Yourself – OOP / Life Philosophy
Balind on 20 Feb 2009 | Musings

Also known as Single Point of Truth, is an OOP philosophy intended to remove the process of repeatedly writing the same code. The theory is that duplication decreases clarity and increases the chances of inconsistency through interpretation.

Also kind of seems like a decent life philosophy as well, in terms of the company you keep. I find the more I have to repeat myself, or explain what I mean to someone, the less likely we’re on the same level.

When the DRY principle is applied successfully, a modification of any single element of a system (like a specific function within an AS3 class), doesn’t change other logically-unrelated elements. Additionally, elements that are logically related all change predictably and uniformly, and are thus kept in sync.

Rishi on 21 Feb 2009 at 4:11 am #
Thanks for this Balind. Great tip.
Hows that Idols site coming along?
Balind on 21 Feb 2009 at 3:38 pm #
It’s completed, I’m just waiting until they update with the latest build we sent them before I post to my portfolio.
You can see current version here.
Rishi on 21 Feb 2009 at 4:48 pm #
Can’t wait to see the final version.
How does a client actually get the sites delivered? On a dvd or is it being installed on a server for them?
Thanks
Balind on 22 Feb 2009 at 11:18 pm #
Usually we take care of the server side implementation. In the case of Disney, everything needs to reside on the disney server, within their template system, so there’s a direct hand-off in which we give them the published and source files.
Paul on 25 Feb 2009 at 11:26 am #
Interesting comparison. When you say “in terms of the company you keep” are you referring to the people a person hangs out with?
Daniel Patterson on 25 Feb 2009 at 9:48 pm #
Great work! Keep em comin!
Daniel Patterson on 25 Feb 2009 at 9:51 pm #
BTW. What was the intro music to the Toyota VENZA sight?
Balind on 26 Feb 2009 at 3:20 pm #
Paul,
Yes, I’m referring to the people you hang out with. I find the more I have to repeat myself, or explain what I mean to someone, the less likely we’re on the same level.
Rishi on 27 Mar 2009 at 5:52 am #
Uve been silent way to long
…I hope the crisis didn’t hit FF0000!!
Balind on 29 Mar 2009 at 6:07 pm #
Heheh…
Sorry dude, I just want my posts to hold some weight so I like to put a lot of thought into them, have one on the backburner. Plus, ever since I got Killzone2 for PS3 I haven’t been doing much else in my spare time.
Working on UFC 100 now.
Rishi on 30 Mar 2009 at 4:06 am #
Wohooo!! Another UFC site!! I noticed that UFC didn’t have sites for 95, 96, 97, 98, probably 99 aswell. I wonder why..hmm. But UFC 100. Nice !!! I’ll be looking out for that! U gotta know, ive started watching UFC since u did 82 and now im addicted to it. Haha.
Great! UFCCCCCCCC!! GSP will kill Alves and im not sure bout Mir/Lesnar.
Murten on 01 May 2009 at 4:47 am #
Hey Balind,
Good post. Short, but interesting.
Have you worked on the Kenda Perez website? Another FWA for RED.
Good job on it, all of the guys at RED by the way.
Rishi on 23 May 2009 at 11:05 am #
Hey Balind,
The UFC 100 coming soon site looks very very promising. Looking out for it.
developar on 13 Jul 2009 at 6:40 am #
This is the first time I hear the term DRY, thanks Balind.
BTW u have a great showroom over there:
http://interactivehug.com/showroom/
Rishi on 14 Jul 2009 at 1:58 am #
Hey Balind, congrats on the SOTD FWA!!