LWN.net Logo

Re: An open letter to Evgeniy Polyakov

Re: An open letter to Evgeniy Polyakov

Posted Nov 27, 2008 9:24 UTC (Thu) by rvfh (subscriber, #31018)
In reply to: Re: An open letter to Evgeniy Polyakov by lipak
Parent article: An open letter to Evgeniy Polyakov

> The best FOSS code is written to be read by other humans

Correct code (including comments) is written to be read by others, because at some point someone will want to add a feature or fix a bug or make it more efficient.

Also because, in two months/weeks/years time (depends on people), the writer will have gone to some other activities and won't be able to understand that ugly clever trick they made to fix that strange case they don't quite remember all the details of.

Also because compilers will have trouble reading too it if it's badly written, and may optimize it in unexpected ways...


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds