Proposed API change for respond_to
Michael D. Ivey
ivey at gweezlebur.com
Thu Sep 20 12:08:09 EDT 2007
On Sep 20, 2007, at 12:54 AM, Josh Susser wrote:
> I very much dislike the respond_to case-statement style of handling
> multiple formats. If you have a class that has the same case
> statement in most of its methods, then it should be broken up into
> multiple classes. Case statements to select behavior that way are
> redundant in an object-oriented language.
Do you mean you dislike the current respond_to, my proposed change,
or both? :)
Any chance you'll have a high-level picture of what you're thinking
before the weekend? I'd love to see it.
More information about the Merb-devel
mailing list