From: Ivan Uemlianin <i...@llaisdy.com>
Date: Wed, 12 Sep 2012 09:33:36 +0100
Local: Wed, Sep 12 2012 4:33 am
Subject: Re: [erlang-questions] Style wars: junk comments
I agree.
The emacs gen_server skeleton has things like:
%%%===================================================================
...
%%%===================================================================
(note 70 chars wide)
It's as if they're section headings at the top of a page in a book.
> -section(creating).
A section attribute would be perfect. If required emacs erlang-mode Ivan
On 12/09/2012 08:56, Richard O'Keefe wrote:
> I was looking at some Erlang code today,
-- > and it had comments like > % Include files
> only bulked up, and present even when the sections were empty.
> I take the definition of a "junk comment" to be
> I can tell
> In fact they remind most unpleasantly of COBOL (IDENTIFICATION
> In fact this ordering strikes me as pernicious in a very very
> %------------------------
> purge(Window) -> ...
> and this function uses a number of helper functions and macros
> In fact I had been thinking about proposing a conventional use
> -section(creating).
> This is something that is already allowed by Erlang syntax, so there
> Yes, the debt to the Smalltalk 4-pane browser and its "method
> The function of the -section attribute is to provide something a
> Have I missed an important benefit of the rigid syntactic ordering?
> While I'm at it, why don't other people sort their export lists into
> function and its supporte
> _______________________________________________
============================================================ Ivan A. Uemlianin PhD Llaisdy Speech Technology Research and Development i...@llaisdy.com
"hilaritas excessum habere nequit"
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||