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 2,100 of 2,753   
   glen herrmannsfeldt to Kaz Kylheku   
   Re: overloading, was Looking for volunte   
   02 Dec 11 05:36:40   
   
   From: gah@ugcs.caltech.edu   
      
   Kaz Kylheku  wrote:   
      
   (snip)   
   > Overloading is any situation in which a symbol has more than one   
   > meaning, resolved by context, such as the class of some argument. It   
   > is "loaded up" with two or more meanings, hence "overloaded".   
      
   While this is true, I think people tend not to think of it   
   as overloading when the operations are similar, such as fixed   
   point and floating point addition.   
      
   There have been complaints about Java, which claims not to have   
   operator overloading, and then uses the + operator for String   
   concatenation.   
      
   Lots of fun is you do things like:   
      
   int i=3;   
   System.out.println(i+i+"="+i+i);   
      
   -- glen   
      
   --- 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