Erlang / FP and Java

Marc van Woerkom Marc.Vanwoerkom@REDACTED
Thu Jul 15 15:24:23 CEST 2004


Am Thu, 15 Jul 2004 12:15:02 +0200 hat

>Here is an interesting article on IBM developerwork 
>explaining how to write functional programming oriented 
>code in Java for modularity:

Thank you for that link. 

PHP 4 programming feels sometimes like FP as well.
Otherwere the list is a central data type, here it is the 
array and there are lots of array functions (including PHP 
versions of map, filter and foldl).

In fact there is a nice PHP 
localization/internationalization library, that assembles 
a string to be translated as a series of functions to be 
evaluated later. 

   http://pear.php.net/pepr/pepr-proposal-show.php?id=44

Those functions modify certain parts of the string 
depending on the country/locale settings.
Like a quantifier that chooses what word form is used 
depending on some quantity, like the word form for one 
object, two objects, or many objects (Hebrew seems to have 
such word changes).

Another interesting link this week is this interview with 
Charles Simonyi on intentional programming:
   http://www.codegeneration.net/tiki-read_article.php?articleId=61

It is about using many notations (of course using the most 
fitting) to describe aspects of a system.

Regards,
Marc



More information about the erlang-questions mailing list