Erlang vs. Java

orbitz@REDACTED orbitz@REDACTED
Fri Sep 9 02:33:48 CEST 2005


Could you elaborate on that? From what I've seen macro's in erlang seem 
to be almost as bad as macros in C.  Is this not a fair analogy?  I 
have heard talk of it being possible to create close to lisp like 
macros in Erlang, is this possible or just talk?


On Sep 8, 2005, at 7:02 PM, Charles Blair wrote:

>> There's a comment at http://wagerlabs.com/tech/2005/09/erlang-vs-
>> java.html that asks very interesting questions on how you would do
>> things in Erlang vs. Java, the type of questions that Erlang lovers
>> here appreciate. The poster is obviously Java-biased. Please help me
>> set the record straight!
>
> as an addition to this exchange:
>
> ---
>    Can I derive from an existing piece of code and extend it without
>    copy/paste ?
>
> Yes, copy/paste is certainly easy. A common sentiment among erlang
> programmers is that programs can be made so expressive that reuse
> becomes less important. Having said that, I would also say that Erlang
> allows you to write very reusable code.
> ---
>
> i might add that i find the availability of macros in erlang to
> facilitate code re-use in a very big way: if i find myself using the
> same pattern again and again, i write a macro to capture it.
>
>
>




More information about the erlang-questions mailing list