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,206 of 117,927   
   albert@spenarnc.xs4all.nl to Anton Ertl   
   Re: "The Best Programming Language for t   
   16 Apr 25 12:59:23   
   
   In article <2025Apr15.235921@mips.complang.tuwien.ac.at>,   
   Anton Ertl  wrote:   
   >mhx@iae.nl (mhx) writes:   
   >>> 1_0 2_0 + . \ output: 30   
   >>   
   >>Sorry, I really don't like this. It takes away my   
   >>underlying mental model of how things should work.   
   >>What happens for "10_ 20_ + ." ?   
   >   
   >It outputs 30, too.  The intended use of _ in Gforth is like this:   
   >   
   >100_000_000_000 20_000_000_000 + . \ outputs 120000000000   
   >   
   >or with groups of 4 for those environments where that is conventional.   
   >   
   >What does your underlying mental model say how things should work?   
      
   The characters fit for grouping digits are, as long as we want a   
   range for large number bases:   
      
   &0 BL DO I EMIT LOOP   
    !"#$%&'()*+,-./   
      
   If you insist that 1a and 1A is the same number, you have more choice,   
   but your limit yourself to base 36.   
      
   . is the decimal point. Thank god there is no adaptation to nationality   
   in Forth.   
   &_ is fine as a separator because it is out of the range of even 64   
   base numbers.   
   The comma, the hash, are most fit with single and double quotes a   
   distant second.   
   The rational use of grouping numbers is &, , because there is ample   
   precedent and recognition for that.   
      
   for example   
   The US national debt is   
    36,482,590,720,183.13 dollars.   
   (The 13 cent is not precise, it may go up slightly since this writing.)   
      
   We must let go of the figforth habit to ignore all non-digit characters   
   to interpret 19:80:07 as a wall clock time.   
      
   >   
   >- anton   
      
   Groetjes Albert   
   --   
   Temu exploits Christians: (Disclaimer, only 10 apostles)   
   Last Supper Acrylic Suncatcher - 15Cm Round Stained Glass- Style Wall   
   Art For Home, Office And Garden Decor - Perfect For Windows, Bars,   
   And Gifts For Friends Family And Colleagues.   
      
   --- 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