[erlang-questions] erlang improvement - objective c (or smalltalk) syntax
Jon Gretar Borgthorsson
jongretar@REDACTED
Thu Jun 4 17:11:14 CEST 2009
Having written quite a bit in Objective-C I am a great big fan of the
language.
However I don't find this to be an improvement in this case. Instead of
remembering the argument order you have to remember the arguments. And I
think this might produce harder to debug errors.
Also it kinda forces verbosity on you. I like Erlang's short and to the
point syntax. Even if it means we have to take a look at the docs every now
and then. I think it just means that we need better access to the docs.
We can rewrite the standard libs without changing the syntax though. :)
Just my 2 cents.
- Jon Gretar
On Thu, Jun 4, 2009 at 9:10 AM, Joe Armstrong <erlang@REDACTED> wrote:
> I've been writing some objective-C and like the method calling syntax.
> Objective-C (and smalltalk) code is very readable without lot's of comments
>
> Could we do something similar in Erlang?
> This was (I think) discussed a long time ago but can't find the
> discussion.
>
> Imagine a function like string:substring/3. A call to this looks like:
>
> string:substring(Str, I, J)
>
>
More information about the erlang-questions
mailing list