what is the difference between static method of the class, module	method and static method of the module?
    bearophile 
    bearophileHUGS at lycos.com
       
    Wed Jun 20 12:52:58 PDT 2012
    
    
  
Alex Rønne Petersen:
> The static keyword has no effect on module functions, so 2 and 
> 3 are equivalent.
This problem is caused by DMD sloppyness regarding its management 
of attributes. A serious language doesn't accept a keyword like 
"static" where it has no meaning. It just causes confusion to 
newbies, and makes it harder to port D code across future D 
compilers...
Bye,
bearophile
    
    
More information about the Digitalmars-d-learn
mailing list