EvilZone

Other => Found it on the Webs => : iAmLuFFy December 12, 2011, 10:26:11 PM

: Don't repeat yourself
: iAmLuFFy December 12, 2011, 10:26:11 PM
Just browsing some comparison chart here.
:
http://vschart.com/



And i found one software development principle called DRY.
Means Don't Repeat yourself.
I didn't know about that.
   
found some info on wiki
 
:

 http://en.wikipedia.org/wiki/Don't_repeat_yourself
Damm software development field is too deep.

: Re: Don't repeat yourself
: techb December 17, 2011, 04:27:21 PM
Pythons Django uses the DRY methodology.
: Re: Don't repeat yourself
: ande December 17, 2011, 05:32:08 PM
Seams easy enough? Don't have duplicate code and use existing solutions to problems(if they exist that is). Its not really a part of software development, it IS software development.
: Re: Don't repeat yourself
: iAmLuFFy December 17, 2011, 05:42:12 PM
Seams easy enough? Don't have duplicate code and use existing solutions to problems(if they exist that is). Its not really a part of software development, it IS software development.

Well its used in software devlopment.. so its a part of software development.
: Re: Don't repeat yourself
: ande December 17, 2011, 05:45:27 PM
Well its used in software devlopment.. so its a part of software development.

.. My point is. It is such a vital part and yet its not that much mentioned. I cannot understate how much cleaner code you will get if you put your mind into not having duplicate code anywhere.
: Re: Don't repeat yourself
: iAmLuFFy December 17, 2011, 05:59:07 PM
how much cleaner code you will get if you put your mind into not having duplicate code anywhere.

hmm.. that may be a problem to get what we want with this rule.
 
So we can ignore it.
: Re: Don't repeat yourself
: ande December 17, 2011, 06:03:18 PM
My statement stands. DRY <-> Clean code, time saved.