Variable instances (Re: Trace on Variable assignment)

Vlad Dumitrescu vladdu@REDACTED
Thu Nov 9 16:28:21 CET 2000


> It's when you start having more than 3-4 changes of the same variable
> in the same function that it's easy to lose track.

It's not so easy (especially into code written by someone else) to keep
track of X[1],... X[5] either...

If X[i] is used in more contexts than to produce X[i+1], then my opinion is
that it should get a descriptive name...

/Vlad



More information about the erlang-questions mailing list