John Joyce
8/7/2007 7:56:00 PM
On Aug 7, 2007, at 12:32 PM, Gregory Brown wrote:
> On 8/7/07, Phlip <phlip2005@gmail.com> wrote:
>> Gregory Brown wrote:
>>
>>>> A perfectly factored program always has methods that are only 2
>>>> or 3
>>>> lines long, each in a file with only two or three methods.
>>>
>>> Says who? (especially the 2-3 methods per file thing)
>>
>> It's a joke!
>
> Oh. I guess I missed that :)
>
> Rails is a perfect example of a system that takes code separation
> too far. (IMO)
>
Actually, it only takes the separation as far as you ask it to.
You can really do amazingly simple things without using most of
what's in Rails, and yet still make something that is easier to
maintain, by having nice places to put repeated web page elements
(headers and footers), even if that's all you need, it works well.
The real beauty in (IMHO) is the way it takes CGI out of your hands
and lets you focus on making something useful.