Erlang language issues
Tue Apr 16 00:57:13 CEST 2002
Richard Carlsson () wrote:
> For some reason, the original and/or were defined to evaluate both
> arguments. Personally, I would love to give and/or the semantics
> of andalso/orelse, but previous experience suggests that any
> semantic changes in Erlang, however obscure, are politically
> impossible. Could this be an exception to the rule?
In languages that have to work in real time, the passing of time
is a side effect. Short circuit logic evaluation makes the evaluation
time of a function less consistent and hence can be undesirable.
More information about the erlang-questions