This is really fun because some people just think the contrary and I think that this is important that even small and dead easy things are cleaned and that code gets lean. Because it hurts to see bad/no comments... This is the idea expressed in the first pragmatic programmer book too. Stef On Apr 21, 2011, at 7:02 PM, Marcus Denker wrote:
http://www.daemonology.net/blog/2011-04-21-tarsnap-bug-bounties.html
Is a typo fix in a comment worth $1? Personally I think it is: My experience as FreeBSD Security Officer has taught me that code readability matters a lot, and simple things like typographical errors in comments or inconsistent code indentation can allow bugs to lurk undetected for years as everybody glances past the "ugly" section of code.
-- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD.