[erlang-questions] OOP in Erlang
Michael Truog
mjtruog@REDACTED
Thu Aug 12 06:17:36 CEST 2010
I also really like the Erlang syntax with commas and semicolons because
it is more of a logical language with the comma as an "and" and the
semicolon as an "or" (like in Prolog). Enforcing a type of indentation
like Python, might help create more order within the source code.
However, the Erlang language itself already contains much logical order
as a functional language.
On 08/11/2010 08:51 PM, Geoffrey Biggs wrote:
> I've never really had the problems that others seem to with Erlang's
> punctuation. I've always thought of an Erlang function as like a
> sentence. Just like in sentences, you use different punctuation to
> separate the different parts. When you see the full stop, the sentence
> ends. A single line is not necessarily a single, self-contained "statement".
>
> Geoff
>
> On 11/08/10 21:08, Attila Rajmund Nohl wrote:
>
>> But it's nothing compared to the headache caused by the four different
>> ways to end a "statement": comma, full stop, semicolon or nothing.
>>
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:erlang-questions-unsubscribe@REDACTED
>
>
>
More information about the erlang-questions
mailing list