Website message overhaul

Marco Leise Marco.Leise at gmx.de
Tue Nov 15 08:55:54 PST 2011


Am 15.11.2011, 14:35 Uhr, schrieb Andrei Alexandrescu  
<SeeWebsiteForEmail at erdani.org>:

> Java does not allow one to write a free function
> (which stands in the way of it being imperative)

As long as one doesn't try to do 'functional' programming, free functions  
in Java can often be conceptually be bound to a certain class. So they'd  
simply be static methods, which resembles free functions with namespaces.

JavaScript is even harder to describe. You can write and call free  
functions, but they actually end up as properties in the global object.  
They are hybrid.


More information about the Digitalmars-d mailing list