| 
	
 | 
 Posted by Allodoxaphobia on 05/23/05 23:23 
On Mon, 23 May 2005 15:45:59 -0400, Dave wrote: 
> (joealey2003@yahoo.com) decided we needed to hear... 
><snip most of code> 
>> if (! $Not_Expired) { 
> Nice double-negative - hope you don't normally code this way. 
 
Hah!  Reminds me of my olde IBM Assembler Language coding days --  
where I had to hack the code of another fella from time-to-time. 
He had the infuriating habit of 'encoding' his (sparse and terse) 
comments in negative logic: 
 
         ...           <maybe 50 lines of code with _no_ comments.> 
         CLI  RESPONSE,C'N'       
         BE   CLEANUP             NBIF CONTINUE 
         ...   <only he'd comment NBIF CONT , and the labels 
               <would've been RESP and CU.  sigh...> 
 
I always had a hard time wrapping my head around his View Of The World. 
(NBIF was his commenting shorthand for No-Branch-If.) 
He, on the other hand, was comfotable with the concept of something 
like: "There is Not No Empty Buffers", or the somesuch.  Phew!!          
I always felt that if you coded a branch at some point in the program,  
you should let the next guy know _why_ the branch would be taken.... 
 
Jonesy 
--  
  | Marvin L Jones       | jonz         |  W3DHJ   |  linux 
  |  Gunnison, Colorado  |  @           |  Jonesy  |    OS/2   __ 
  |   7,703' -- 2,345m   |   config.com |  DM68mn              SK
 
[Back to original message] 
 |