From: theadventmaster Date: 2012-08-11T07:54:47+09:00 Subject: Re: How do you order your class methods? --e89a8fb2087ef7a31b04c6f13a34 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I guess if you have an editor with a sorting or method listing feature you like, you're free to use that. If you're manually cutting and pasting methods to achieve your desired ordering, I can't help but wonder if you work in an environment where deadlines matter, or if you're just programming for kicks. Generally speaking, I have much better things to worry about during development than whether or not my methods are sorted to my liking. On Fri, Aug 10, 2012 at 6:33 PM, Ryan Davis wrote= : > > On Aug 10, 2012, at 15:14 , Bartosz Dziewo=C5=84ski > wrote: > > > 2012/8/10 Ryan Davis : > >> How does sorting methods prevent productivity? > > > > You can't have several related methods visible at the screen at the sam= e > time? > > > > (Yes, yes, you can use a "proper editor" and see several places in the > > file in separate windows. That's like saying that code indentation > > doesn't matter because you can use a "proper editor" and reformat > > everything.) > > > Your argument is flawed. > > Code indentation DOES matter, very much so. It is INDENTING code that has > been made irrelevant as your editor can (and should) do it for you. > > If you use a good editor, you can see several places in the same window, > not multiple. You really shouldn't be having to flip back and forth and i= n > this case, tiling (split windows) works better. > > > --e89a8fb2087ef7a31b04c6f13a34 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I guess if you have an editor with a sorting or method listing feature you = like, you're free to use that.

If you're manuall= y cutting and pasting methods to achieve your desired ordering, I can't= help but wonder if you work in an environment where deadlines matter, or i= f you're just programming for kicks.

Generally speaking, I have much better things to worry = about during development than whether or not my methods are sorted to my li= king.

On Fri, Aug 10, 2012 at 6:33= PM, Ryan Davis <ryand-ruby@zenspider.com> wrote:

On Aug 10, 2012, at 15:14 , Bartosz Dziewo=C5=84ski <matma.rex@gmail.com> wrote:

> 2012/8/10 Ryan Davis <r= yand-ruby@zenspider.com>:
>> How does sorting methods prevent productivity?
>
> You can't have several related methods visible at the screen at th= e same time?
>
> (Yes, yes, you can use a "proper editor" and see several pla= ces in the
> file in separate windows. That's like saying that code indentation=
> doesn't matter because you can use a "proper editor" and= reformat
> everything.)


Your argument is flawed.

Code indentation DOES matter, very much so. It is INDENTING code that has b= een made irrelevant as your editor can (and should) do it for you.

If you use a good editor, you can see several places in the same window, no= t multiple. You really shouldn't be having to flip back and forth and i= n this case, tiling (split windows) works better.



--e89a8fb2087ef7a31b04c6f13a34--