in reply to Re: USE or Require?
in thread USE or Require?
Sigh. Perhaps I chose terms that were too specific for the attitudes I was trying to convey. You certainly choose to debate the merits of the specifics rather then the nature of the general.
My main point was not to nit pick the differences between use and require, but rather to look at the question of "Is it false lazyness to import subroutines/vars/etc into your namespace?". It's lazy in a good way because you don't have to type endless amounts of semicolons, but then it's lazy in a bad way because you don't know exactly where the subroutine came from. Obviously I favor the latter arguement, that "Foo::Baz()" is preferable to "Baz()" due to it's self documenting nature, it lets you know exactly where the subroutine is coming from and what it corresponds to.
My main point was not to nit pick the differences between use and require, but rather to look at the question of "Is it false lazyness to import subroutines/vars/etc into your namespace?". It's lazy in a good way because you don't have to type endless amounts of semicolons, but then it's lazy in a bad way because you don't know exactly where the subroutine came from. Obviously I favor the latter arguement, that "Foo::Baz()" is preferable to "Baz()" due to it's self documenting nature, it lets you know exactly where the subroutine is coming from and what it corresponds to.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: USE or Require?
by chromatic (Archbishop) on Jul 23, 2003 at 03:01 UTC | |
Re: Re: Re: USE or Require?
by ihb (Deacon) on Jul 23, 2003 at 08:57 UTC | |
Re: Re: Re: USE or Require?
by demerphq (Chancellor) on Jul 23, 2003 at 18:28 UTC |
In Section
Meditations