[erlang-questions] Re: escript question

Håkan Mattsson hm@REDACTED
Wed Apr 6 11:22:07 CEST 2011


On Wed, Apr 6, 2011 at 8:46 AM, Bengt Kleberg
<bengt.kleberg@REDACTED> wrote:
> However, I did notice that your code looks  different from what I would write.

Doesn't your code look different from almost everybody elses? ;-)
I like Mikes indentation style better.

/Håkan

> main(ParamList) ->
>        case ParamList
>        of [AppID, NodeID] ->
>                generate_files(AppID, NodeID)
>        ; _Else ->
>                show_usage(),
>               erlang:halt(1)
>       end.



More information about the erlang-questions mailing list