help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Defining functions within functions?


From: Emanuel Berg
Subject: Re: Defining functions within functions?
Date: Tue, 24 May 2016 23:46:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Marcin Borkowski <mbork@mbork.pl> writes:

> For now, I decided to go with lambdas, but
> also to sprinkle the code with comments.
> Old-fashioned, but should do the jon in
> my case.

... why is that old-fashioned?

It is much better to put everything in a new
file, and have all it all defuns on the
same level.

If you have comments, you are halfway there as
you can put the comments into docstrings!

Actually the `checkdoc-current-buffer'
I mentioned in another thread will tell you to
do that, turn the comment into a docstring, if
it suspects the comment serves the same purpose
as would a docstring.

Docstrings are better because they are
integrated in the help and interface
documentation system!

-- 
underground experts united .... http://user.it.uu.se/~embe8573
Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic
                   - so far: 40 Blogomatic articles -                   


reply via email to

[Prev in Thread] Current Thread [Next in Thread]