[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Add hints to documentation of car and cdr for (e)lisp newcomers - ta
From: |
Eli Zaretskii |
Subject: |
Re: Add hints to documentation of car and cdr for (e)lisp newcomers - take 2 |
Date: |
Thu, 15 Jul 2021 18:57:46 +0300 |
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Thu, 15 Jul 2021 17:44:22 +0200
> Cc: Eli Zaretskii <eliz@gnu.org>, Stefan Kangas <stefan@marxist.se>,
> asjo@koldfront.dk, emacs-devel@gnu.org
>
> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>
> >> IMO, examples are for the manual, not for the doc strings. If some
> >> parts of our manuals could benefit from more examples, patches for
> >> that would be welcome.
>
> I think having some examples is fine in doc strings -- it can be
> difficult to explain some concepts in words, but a simple example can be
> a really efficient way to say what a function does.
>
> But we should indeed not go overboard with examples in doc strings --
> that's better left for the manual.
The danger of going overboard is exactly what bothers me. Which is
why I think examples in doc strings should be used in exceptional
cases, where they are absolutely necessary. Not as a "why not?"
addition.
- Re: Add hints to documentation of car and cdr for (e)lisp newcomers - take 2, (continued)
- Re: Add hints to documentation of car and cdr for (e)lisp newcomers - take 2, Stefan Kangas, 2021/07/14
- Re: Add hints to documentation of car and cdr for (e)lisp newcomers - take 2, Lars Ingebrigtsen, 2021/07/15
- Re: Add hints to documentation of car and cdr for (e)lisp newcomers - take 2, Stefan Kangas, 2021/07/15
- Re: Add hints to documentation of car and cdr for (e)lisp newcomers - take 2, Eli Zaretskii, 2021/07/15
- Re: Add hints to documentation of car and cdr for (e)lisp newcomers - take 2, Tim Cross, 2021/07/15
- Re: Add hints to documentation of car and cdr for (e)lisp newcomers - take 2, Stefan Monnier, 2021/07/15
- Re: Add hints to documentation of car and cdr for (e)lisp newcomers - take 2, Stefan Monnier, 2021/07/15
- Re: Add hints to documentation of car and cdr for (e)lisp newcomers - take 2, Yuan Fu, 2021/07/15
- Re: Add hints to documentation of car and cdr for (e)lisp newcomers - take 2, Eduardo Ochs, 2021/07/15
- Re: Add hints to documentation of car and cdr for (e)lisp newcomers - take 2, Lars Ingebrigtsen, 2021/07/15
- Re: Add hints to documentation of car and cdr for (e)lisp newcomers - take 2,
Eli Zaretskii <=
- Re: Add hints to documentation of car and cdr for (e)lisp newcomers - take 2, Stefan Monnier, 2021/07/15
- Re: Add hints to documentation of car and cdr for (e)lisp newcomers - take 2, Jean-Christophe Helary, 2021/07/15
- Re: Add hints to documentation of car and cdr for (e)lisp newcomers - take 2, Stefan Monnier, 2021/07/16
- Re: Add hints to documentation of car and cdr for (e)lisp newcomers - take 2, Basil L. Contovounesios, 2021/07/16
- Re: Add hints to documentation of car and cdr for (e)lisp newcomers - take 2, Eli Zaretskii, 2021/07/16
- Re: Add hints to documentation of car and cdr for (e)lisp newcomers - take 2, Eli Zaretskii, 2021/07/15
- Re: Add hints to documentation of car and cdr for (e)lisp newcomers - take 2, Jean-Christophe Helary, 2021/07/15
- Re: Add hints to documentation of car and cdr for (e)lisp newcomers - take 2, Lars Ingebrigtsen, 2021/07/15
- Re: Add hints to documentation of car and cdr for (e)lisp newcomers - take 2, Eli Zaretskii, 2021/07/15
- Re: Add hints to documentation of car and cdr for (e)lisp newcomers - take 2, Lars Ingebrigtsen, 2021/07/15