[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

Re: Are STOP and INIT good names? (was Re: [PATCH pod/perlmod.pod 5.005_63] Special Blocks For Less Than Gurus)



Gurusamy Sarathy <gsar@ActiveState.com> writes:
>On Mon, 24 Jan 2000 00:43:50 EST, Michael G Schwern wrote:
>>Anyhow (I guess you had to watch the show) point is that it makes just
>>as much sense to name it 'STOP' as it does 'START'.  Is it where
>>compilation stops or is it where runtime starts?
>
>STOP is when compilation stops.  INIT is when runtime starts.  Maybe
>INIT ought to be called START, but somehow that's more confusing than
>INIT to my ears.

I would have been much happier if it had been BEGIN/END (Compile) START/STOP
(run), but history precludes that. 
I still think STOP could do with a little more thought - STOP has a more
wrong feel.

BEGIN/????  INIT/END

How about FINISH (the compile) which is what B::* use it for.
BEGIN/FINISH (the compile), (re) INIT/END (the run).

-- 
Nick Ing-Simmons <nik@tiuk.ti.com>
Via, but not speaking for: Texas Instruments Ltd.


References to:
Gurusamy Sarathy <gsar@ActiveState.com>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]