[futurebasic] Re: [FB] Clear Local Mode

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2008 : Group Archive : Group : All Groups

From: Ken Shmidheiser <kshmidheiser@...>
Date: Sat, 19 Jan 2008 21:31:21 -0500
RP, in typical succinctness, opined:

> 'local mode' advertises purity-of-heart. It means "This function
> references no global variables, and therefore avoids a potent cause of
> difficulty in understanding and debugging".
>
> 'clear' advertises laziness. It means "Some local vars may need to be
> zeroed initially, but I can't be bothered working out which, if any,
> so I'll just zero the lot. Who cares about efficiency?"
> As a matter of policy, 'clear' is not allowed in the source for FBtoC.



So, I guess I'm pure in heart, but lazy.

Yep.

Ken