Open malexmave opened 11 years ago
agree
I agree, since this is one of the points we criticized at enigmail and said we can do better.
I suggest the following format, and agree on adding @throws
, too. Will start implementing now.
http://en.wikipedia.org/wiki/JSDoc
Hint for all those sublime users: install DocBlockr
extension, and type /**<CR>
in front of a function :)
Existing Code, like, for example, the functions in Keyring.jsm, should be documented (Docstrings + comments on non-obvious lines).
I'd propose the usual format:
We could also think about adding
@throws
for functions that may throw exceptions, if it ever comes to that, but I would really like to see some basic docstrings for each function so I can tell at a glance what it does.Discuss (or implement ;-) )