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,610 of 117,927   
   Hans Bezemer to All   
   Re: Examples for gforth's objects.fs   
   03 Oct 25 17:11:49   
   
   From: the.beez.speaks@gmail.com   
      
   On 03-10-2025 16:44, okflo@teletyp.ist wrote:   
      
   Well, it isn't gForth or object.fs, but there are a lot of examples to   
   be found here (foos*.4pp):   
      https://sourceforge.net/p/forth-4th/code/HEAD/tree/trunk/4th.src/4pp/   
      
   Most of 'em cover design patterns (all of them as a matter of fact):   
      https://en.wikipedia.org/wiki/Design_Patterns   
      
   There is an article on FOOS OOP here:   
      https://sourceforge.net/p/forth-4th/wiki/Object%20Orientation/   
      
   It's got all the normal OOP features:   
   - Encapsulation;   
   - Subtype polymorphism;   
   - Single Inheritance;   
   - Lazy initialization;   
   - Constructors and destructors.   
      
   Hans Bezemer   
      
   > Hi,   
   >   
   > I am currently trying to digg deeper into gforth's object.fs.   
   >   
   > For that I would like to read some good object oriented forth code   
   > (preferred gforth's object.fs, but open to other good examples).   
   >   
   > Any recommendations of f.e. a bigger project, thas has public code?   
   >   
   > many thanks - okflo   
      
   --- 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