[erlang-questions] erlang improvement - objective c (or smalltalk) syntax
Vlad Dumitrescu
vladdu55@REDACTED
Thu Jun 4 14:21:09 CEST 2009
On Thu, Jun 4, 2009 at 14:04, Alin Popa <alin.popa@REDACTED> wrote:
> Please correct me if I'm wrong, but
> string:substring(String)from(Start)length(Length) does not look more like an
> actual multiple function calls ( substring(String) - one function call,
> from(Start) - other one, and so on ... ) ?
> I don't know that this solution may keep backward-compatibility with the old
> syntax.
>
> Or maybe I'm missing something here.
Since there's no comma between the "calls", it is an illegal syntax
today. That was only a suggestion for syntax (and I might even
remember it wrong), there might be better alternatives.
Could I dare throw in a sales pitch?
erlIDE shows the function's documentation beside the list with
completion suggestions, so the docs are never too far away. At the
moment, only the standard libraries' docs are shown prettily
formatted; one's own code is just the raw comments before the function
definition.
regards,
Vlad
More information about the erlang-questions
mailing list