I subscribe to the school of thought that code is written primarily for people to read. It also has to compile, but that's a secondary consideration.<div><br></div><div>Readability is directly proportional to the cost of maintaining software. In a commercial environment readability is vital. In fact, only those with no commercial constraints can afford to support read-only software.<br>
<br></div><div>I'm not suggesting that all commercial companies live up to this ideal. But those that don't pay a premium for their mistake.</div><div><br></div><div><br></div><div>Rob Lally.</div><div><br></div><div>
<br><div class="gmail_quote">2009/3/19 mats cronqvist <span dir="ltr"><<a href="mailto:masse@kreditor.se">masse@kreditor.se</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">Camille Troillard <<a href="mailto:tuscland@gmail.com">tuscland@gmail.com</a>> writes:<br>
<br>
> I find interesting (or curious) how people want to reach aesthetically<br>
> pleasant code to read. No offense, really, it's just that I don't think it<br>
> leads anywhere useful.<br>
<br>
</div> I find it interesting that readability is regarded as something only<br>
pointy-headed academics are interested in, and uninteresting in the<br>
real world of commercial software.<br>
<br>
In my experience, code that is not "aesthetically pleasant" is<br>
guaranteed to have this property; only its author can find the bugs.<br>
<br>
This is of course not a problem for a hobbyist, or perhaps even a<br>
compiler writer. But it is the mother of bad software products.<br>
<font color="#888888"><br>
mats<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Blog : <a href="http://robertlally.com">http://robertlally.com</a><br>
</div>