Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] Document _canonical_paths.



On Aug 18,  4:55pm, Daniel Shahaf wrote:
}
} If we really want the docstring to be present in both locations, I think
} one of them should be autogenerated from the other.

I think that would be an overengineered solution to what ought to be a
non-problem.  We definitely don't want the function files being modified
by the doc formatter, and the alternative -- requiring every function
file to contain a specially-formatted comment -- is both a barrier to
users who want to contribute functions, and likely to make any such
comments more difficult to read as simple text.

If the programmer of the function went to the trouble of including a
documentary comment, it's not the job of the documentation writer to
nullify that.  If you prefer not to contribute functions that have
such comments and to write yodl instead, good for you; and if you want
to write yodl for functions that others have contributed, then that's
even better; but I object to the removal of another programmer's
commentary unless a corresponding *programming* change has made it
inaccurate or obsolete.



Messages sorted by: Reverse Date, Date, Thread, Author