From: masta Blasta Date: 2012-08-13T22:54:07+09:00 Subject: Re: How do you order your class methods? theadventmaster wrote in post #1071970: > I generally use a top-down approach, where new methods are added > immediately beneath the method that first requires it. This is most > convenient and can be thought of as a type of logical ordering. > > If I was trying to be productive, I definitely would not order methods > alphabetically, especially if the class was large. I'm trying write > code, > not rearrange my filing cabinet... > > On Fri, Aug 10, 2012 at 12:36 PM, Robert Klemme Alphabetical ordering does makes sense. Since most text editors include some kind of "fold function" feature, you can fold everything and just see the method names. If they're alphabetical it is very easy to browse through them. >If you're using a proper editor to navigate, order won't matter. I >always just sort my methods. What editor are you using? -- Posted via http://www.ruby-forum.com/.