On Fri, Jun 10, 2011 at 09:35:24PM +0900, Austin Ziegler wrote:
> On Thu, Jun 9, 2011 at 3:49 PM, Cezary Baginski
> <cezary.baginski / gmail.com> wrote:
> > Issue #4824 has been updated by Cezary Baginski.
> >
> > __FILE__ == $0
> >
> > just a hack for letting a file be *both* a script and a "library"
> > at the same time? With the only sane use (I can think of) being
> > adding unit tests?
>
> Tests are most *certainly* not the only good reason for this feature,
> and I would regret its departure.

By "sane" use I didn't mean "good" use. Especially with a team working
together and source control. I have nothing against the current use of
checking for main script, but I don't think promoting its use through
additional language support is beneficial.


--
Cezary Baginski