I am having a tough time coming up with a decision on this: Is it ok to have redundancy in your controllers and views for the sake of flexibility? Or should your controllers and views be 100% DRY by creating private methods in your controllers that accept parameters and using partials that accepts locals? I tried being 100% DRY but my private methods are getting very complex and my partials are getting complex as well, with a bunch of if statements, etc. I feel like redundancy in your models is bad, but in your controller and views it's not so bad because this is the presentation end of your application which can vary depending on the section of your application. What do you think?
on 2007-03-26 07:28