home bbs files messages ]

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

   comp.compilers      Compiler construction, theory, etc. (Mod      2,753 messages   

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

   Message 1,977 of 2,753   
   Jean-Marc Bourguet to torbenm@diku.dk   
   Re: language design implications for var   
   05 Jan 11 14:57:36   
   
   From: jm@bourguet.org   
      
   torbenm@diku.dk (Torben Cgidius Mogensen) writes:   
      
   > You can also reverse the question: Given that you have records and   
   > (tagged) unions (== sum types), will classes provide significant value?   
      
   Classes provides modular addition of types, but unmodular addition of   
   operation.   
      
   Unions provides modular addition of operation, and unmodular addition of   
   types.   
      
   I choose one or the other depending on which evolution is more needed.   
      
   The problem is when both kinds is probable.  Some names that the   
   expression problem (and last time I looked, it has no good solution)   
      
   Yours,   
      
   --   
   Jean-Marc   
      
   --- 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