On Oct 13, 3:08=A0pm, Ryan Davis <ryand-r... / zenspider.com> wrote:
> On Oct 13, 2008, at 11:27 , Thomas Sawyer wrote:
>
> > =A0__DIR__
>
> > This will improve readability, remove the need for extra variables =A0
> > to store this information, and at the very least, save us a good =A0
> > many keystrokes.
>
> yes.
>
> I frequently need to do:
>
> =A0 =A0File.dirname(File.dirname(__FILE__))
>
> so I'd like
>
> =A0 =A0__DIRDIR__
>
> can we also have
>
> =A0 =A0__DIRDIRDIR__
>
> while you're in there?

It's one thing to be sarcastic, it is another to be untruthful. If you
are actually using File.dirname(File.dirname(__FILE__)) "frequently",
then you need to rethink your design. But I know you are a better
coder than that. So you're simply not being sincere, and thus not
making a valid point.

T.