[erlang-questions] Re: escript question
Wed Apr 6 12:41:26 CEST 2011
I was thinking about the use of 'if' and erlang:length/1.
If possible, try to ignore the indention.
On Wed, 2011-04-06 at 11:22 +0200, Håkan Mattsson wrote:
> 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.
> > main(ParamList) ->
> > case ParamList
> > of [AppID, NodeID] ->
> > generate_files(AppID, NodeID)
> > ; _Else ->
> > show_usage(),
> > erlang:halt(1)
> > end.
More information about the erlang-questions