home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.forth      Forth programmers eat a lot of Bratwurst      117,927 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 117,338 of 117,927   
   Paul Rubin to dxf   
   Re: Parsing timestamps?   
   26 Jun 25 00:12:41   
   
   From: no.email@nospam.invalid   
      
   dxf  writes:   
   > Define 'unreadable'.  In general I don't need to understand the nitty   
   > gritty of a routine.  But should I and no stack commentary exists, I've   
   > no objections to creating it.  It's par for the course in Forth.  If it   
   > bugged me I wouldn't be doing Forth.   
      
   Unreadable = I look at the code and have no idea what it's doing.  The   
   logic is often obscured by stack manipulation.  The values in the stack   
   are meaningful to the program's operation, but what is the meaning?  In   
   most languages, meaningful values have names, and the names convey the   
   meaning.  In Forth, you can write comments for that purpose.  Years   
   after cmForth was published, someone wrote a set of shadow screens for   
   it, and that helped a lot.   
      
   With no named values and no explanatory comments, the program becomes   
   opaque.   
      
   --- SoupGate-DOS v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca