[erlang-questions] where is the best erlang pretty printer

Vance Shipley vances@REDACTED
Wed May 25 12:21:17 CEST 2011


On Wed, May 25, 2011 at 11:29:17AM +0200, Vlad Dumitrescu wrote:
}  A problem with automatic formatting is also that there are situations where
}  the rules one generally uses are resulting in an ugly layout and one has to
}  make an exception or accept the ugliness. I know people that would never do
}  the latter.

After having done a good deal of coding using ASN.1 modules I found
that it was entirely necessary to change my usual style to fit the
context of the work I was doing.  I changed to using 132 column terminal
windows simply because the generated names were so damn long.  There
are probably not many "style guides" which would allow 132 column lines.

What I love about using tabs for indentation is that I can easily change
the appearance by adjusting the number of column positions which a tab
equates to (in vim: ":set ts=3").  

None of these issues (should) have anything to do with the product of
your work which is source compilable to run as intended.  Personal style
should be left in a person's environment in a perfect world.  We need
a toolchain which removes it and reinserts it as it leaves and enters
the personal environment.

-- 
	-Vance




More information about the erlang-questions mailing list