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 116,927 of 117,927   
   Anthony Howe to Ruvim   
   Re: Toad using many vocabularies   
   01 Nov 24 11:08:20   
   
   From: achowe@snert.com   
      
   On 2024-11-01 10:28, Ruvim wrote:   
   > Such a syntax is used in SP-Forth/4 since 2001, in the form :: or   
   > ::::   
   >   
   > Where  is a word that returns wid, or a word that is created with   
   > `vocabulary`.   
   >   
   > This syntax in SP-Forth probably came after C++ "::" operator, introduced in   
   > 1998.  The same operator was in C# from its initial release in 2000.   
    >   
   > The dot "." operator for accessing nested packages in Java was introduced in   
   1995.   
   >   
   > In Forth, a dot is often used as part of plain names, so it was less   
   suitable as   
   > a namespace separator.   
      
   Yep.  Bad idea to use dot.   
      
   Never liked `::`, found it visually distasteful.   
      
   Dare I suggest C's `->` which trumps others by decades.   
      
   Or simply create a new one like `:>` or  `~` (oh I'll be stoned for this one).   
   I would prefer a single character, but there are so few good choices.   
      
   --   
   Anthony C Howe   
   achowe@snert.com                                   BarricadeMX & Milters   
   http://nanozen.snert.com/                          http://software.snert.com/   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

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


(c) 1994,  bbs@darkrealms.ca