On Wed, 2010-12-01 at 14:25 -0500, Kohei Yoshida wrote:
But I've already become immune to this hard-to-figure-out code base, so
I stopped thinking that way years ago. I've even trained myself to
ignore those German comments. When I see functions, I see chunks of
code, not functions. ;-)
The ability to quickly read, and work effectively on a vast, gnarly,
un-documented code-base is an incredibly valuable one - it turns out
most commercial code-bases are a total mess internally; LibreOffice is
nothing special. Furthermore, the code is -always- correct, and comments
bit-rot at an amazing rate.
However; I'm fairly convinced that there is a happy medium somewhere
closer to Lubos than Thorsten but in-between - I don't think that
investing tons of time into blindly documenting the behaviour of every
method is at all necessary; yet clearly having good, descriptive
per-method (and often more usefully per-class) documentation is really
important. IMHO we cannot and should not put a break on writing that
just to improve merge-ability, so I applaud another of Miklos' great
hacks :-)
Finally - wrt. ultimate code quality - I tend to think that growing our
test suite can also enable the re-factoring that can make our APIs both
pretty and intuitive over time, by providing good, clean, and wide
ranging tests that will catch inadvertent changes in side-effects
as/when they are introduced.
Regards,
Michael.
--
michael.meeks@novell.com <><, Pseudo Engineer, itinerant idiot
Context
- Re: [Libreoffice] Script to find undocumented classes (continued)
Re: [Libreoffice] Script to find undocumented classes · Tor Lillqvist
Re: [Libreoffice] Script to find undocumented classes · Miklos Vajna
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.