From: Lloyd Linklater Date: 2007-07-27T22:13:39+09:00 Subject: Re: Getting started with full sized apps... how? Morton Goldberg wrote: > On Jul 26, 2007, at 2:52 PM, Lloyd Linklater wrote: > >> That having been said, I am not finding the golden path to making >> wonderful ruby apps with no easy interface. Even practicing with the >> language is problematic as I never seem to write methods longer than a >> couple dozen lines and that doth not an app make. > > Can't agree with this sentiment. Long methods do not an application > make. Applications are made by choosing the appropriate class > libraries, implementing a set of classes that model the problem > domain, providing the appropriate behavior to objects instantiated > from those classes by implementing methods (usually short) which are > highly leveraged on the class libraries. My methods tend to average > well under your "couple dozen lines". Well, I agree and I should clarify, therefore. The methods I write that are a couple dozen lines or less are as far as I have ever taken ruby. Applications require lots of such things stitched together into a whole. Methods should be as terse as possible and, in the case of something lengthy, they should be broken into smaller "bite sized" chunks which makes things go better overall. John Joyce wrote: > Delphi is really not a language as much as a framework around a > language, isn't it? Well, as Borland was pretty much the only real supporter of Pascal, they, that is to say Anders H., did whatever he wanted with the language making it unique. However, with the advent of the new management of CodeGear, what you say is even more true as there is a Delphi for PHP and they will be releasing a Ruby IDE in the near future. This is what I was looking for. Thanks all! I will get on this ASAP. :) -- Posted via http://www.ruby-forum.com/.