optimization tricks ?

Mon May 15 19:00:33 CEST 2000

On Mon, May 15, 2000 at 10:32:01AM +0100, Francesco Cesarini wrote:
> Erlang methodology:
> 1. First make it work
> 2. Then make it beautiful
> 3. Then [if you *really* *really* have to] make it fast [keeping it
> beautiful and correct].
> In 9 cases out of 10, you will realize you do not need step 3 as the
> application runs fast enough. In the 10th case, you probably won't have
> time for the third step.

Very nice. I prefer however to:

 1. First make it beautiful
 2. Then make it work

Since 2 almost naturally follows from 1.

The corollary is that one rarely ends up debugging pretty code.

-dg "yes I am mostly serious about this"


David Gould                                             dgould@REDACTED
SuSE, Inc.,  580 2cd St. #210,  Oakland, CA 94607          510.628.3380
As long as each individual is facing the TV tube alone, formal
freedom poses no threat to privilege.  --Noam Chomsky

More information about the erlang-questions mailing list