From: Eric Schwartz Date: 2005-03-23T08:54:52+09:00 Subject: Re: Any guides for good coding in Ruby? James Edward Gray II writes: > I can't decide if it's just the example or the whole section, but this > one just doesn't feel right to me. I would much rather have a class > rendering itself (who better qualified?), then providing accessor like > data for others to do it. Push, don't pull, right? If you have a class just providing data for others to render then you can much more easily implement renderers than if you have to modify your data class for each format you care to render it into. -=Eric -- Come to think of it, there are already a million monkeys on a million typewriters, and Usenet is NOTHING like Shakespeare. -- Blair Houghton.