[erlang-questions] Erlang Style Guide

Toby Thain toby@REDACTED
Thu May 19 01:09:06 CEST 2011


On 18/05/11 9:56 AM, David Mercer wrote:
> I daresay, if ROK would publish /his/ standards, I’d probably follow
> them. 

Co-signed.

--Toby

> He’s the guy who puts punctuation at the beginning of a lot of
> lines.  The way it is now, I just go with what looks good (which means
> punctuation at the end of the line), because I can’t be bothered coming
> up with rules to follow, but I’m pretty sure ROK has in his head some
> self-consistent system that makes sense and makes coding easier.
> 
>  
> 
> Actually, I’d probably follow anyone’s formatting rules if someone would
> publish some.  Maybe /I/ should…
> 
>  
> 
> Cheers,
> 
>  
> 
> DBM
> 
>  
> 
> *From:*erlang-questions-bounces@REDACTED
> [mailto:erlang-questions-bounces@REDACTED] *On Behalf Of *Joe Armstrong
> *Sent:* Wednesday, May 18, 2011 8:02 AM
> *To:* Dmitrii Dimandt
> *Cc:* Erlang Questions
> *Subject:* Re: [erlang-questions] Erlang Style Guide
> 
>  
> 
>  
> 
> On Wed, May 18, 2011 at 2:39 PM, Dmitrii Dimandt <dmitrii@REDACTED
> <mailto:dmitrii@REDACTED>> wrote:
> 
> This is an excellent guide. However, it mostly deals with language
> constructs and programming habits. It would be nice to complement this
> with a "writing style" guide that would discuss identation and nesting,
> naming conventions etc.
> 
>  
> 
>  
> 
> 
> Where to put punctuation, naming etc. is a matter that is discussed with
> religious fervor - nobody agrees
> here at all ...
> 
> /Joe
>  
> 
> 
> 
>     What about this?
> 
>      
> 
>     http://www.erlang.se/doc/programming_rules.shtml
> 
>     On Wed, May 18, 2011 at 2:16 PM, Dmitrii
>     Dimandt <dmitrii@REDACTED <mailto:dmitrii@REDACTED>> wrote:
> 
>         Hi all!
> 
> 
> 
>         Is there a more-or-less universally accepted Erlang Style Guide.
>         SImilar to, say, PEP08 (http://www.python.org/dev/peps/pep-0008/).
> 
>         If there isn't, does anyone has a style guide the use? Would you
>         care to share you style guides with the list?
> 
>         Thank you!
>         _______________________________________________
>         erlang-questions mailing list
>         erlang-questions@REDACTED <mailto:erlang-questions@REDACTED>
>         http://erlang.org/mailman/listinfo/erlang-questions
> 
> 
> 
> 
>     -- 
>     Regards,
>     Alexander
> 
> 
>     _______________________________________________
>     erlang-questions mailing list
>     erlang-questions@REDACTED <mailto:erlang-questions@REDACTED>
>     http://erlang.org/mailman/listinfo/erlang-questions
> 
>  
> 
> 
> 
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions




More information about the erlang-questions mailing list