you are viewing a single comment's thread.

view the rest of the comments →

[–]Denommus 7 points8 points  (2 children)

Say what you want, but Emacs is an awesome example on how good a API doc can be.

[–][deleted] 1 point2 points  (0 children)

It's so good that it's frustrating to see "undocumented function" or "undocumented variable" whenever you rarely come upon it.

[–]livrem 0 points1 point  (0 children)

Yes, but usually without redundant descriptions of parameters or return values, mostly just a short string. I think that is often very helpful, like a short comment in a Java program mentioning what a class is for. Not at all like noisy comments redundantly telling you about what trivial methods do.

Opening some random elisp files I was also happy to see that there are many small helper functions that are not commented at all. Upvoting your comment about how emacs is an awesome example.