[erlang-questions] Reassigning variables
mats cronqvist
masse@REDACTED
Thu Mar 19 21:12:57 CET 2009
Michael Radford <mrad-direct-erlang@REDACTED> writes:
> I totally agree about readability, but I think we need to distinguish
> "readable" code from "elegant" (or aesthetically pleasing) code.
>
> It's similar to the difference between newspaper writing vs. writing a
> novel, or poetry. Most of the time, commercial software should be more
> like the former -- state the facts in a way that most people can
> understand easily, and get out of the way. Occasionally, this sort of
> code might turn out to be elegant, but that's not the primary goal.
Well put. I believe I err on the side of (striving for) elegance,
possibly because of all the horrible stuff I had to read at a
previous job.
mats
More information about the erlang-questions
mailing list