DRY is pretty cool
Ok, I have to admit, I was a little turned off by some of the acronyms that were/are being flung around so much when I started getting into rails. Do you like your KISSes DRY? Ugh.
Then it hit me. Both of these things are pretty darn powerful, and can be life changing things. At least life changing if your life is mostly based around writing code. KISS is a funny thing to go around mentioning to a lot of geeks such as myself, but in the end, I really do agree with it and try to fashion code in that style. It stands for Keep-It-Simple-Stupid. Don't complicate things that don't need to be complicated. Enough said.
So this new one, DRY, what's that all about? Well, it stands for Don't-Repeat-Yourself. After working with rails for a bit, I think it has made me a better programmer even in languages and frameworks that are outside of ruby and rails. I often cringe at the thought of having to accept and be cool with new acronyms, but in the end, I don't think that rails and DRY are synchronous, I just think that rails was fashioned with DRY in mind. Today I installed 2 plugins that each took me a days work in one rails application, into a brand new separate rails application. Guess what? It only took me about 2 minutes of tuning to get it to work perfectly. Talk about saving time, its uncanny.
Now I just have to try apply DRY to other projects outside of the rails ones, and try not be upset that they are not rails ;).
Comments:
| Nice!! Now if we could just get you to keep your diaper dry. |
| Posted By: halcyon, 3 years ago |
Add Comment:
Back
