[erlang-questions] Multi-line comments in Erlang

Jesper Louis Andersen <>
Wed Dec 8 00:41:15 CET 2010


On Tue, Dec 7, 2010 at 11:14 PM, Richard O'Keefe <> wrote:
>
> /* ... */ comments have no known advantages over % comments;
> with adequate editing tools it is equally easy to "comment out"
> or "comment in" a region either way and they are equally easy
> to type or reformat.

Is it, in Prolog acceptable to nest layers of /* .. */ ? It tend to be
that case which is hard to implement. Today, I see little need for
them. Most editors are fully capable of handling comment sections
spanning multiple lines with ease and the vicious idea of commenting
out code as a kind of revision control was luckily abolished with the
introduction of proper rev. control.


-- 
J.


More information about the erlang-questions mailing list