octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: stupid Matlab-style short-circuit behavior for | and &


From: Søren Hauberg
Subject: Re: stupid Matlab-style short-circuit behavior for | and &
Date: Thu, 07 Oct 2010 12:44:49 +0200

tor, 07 10 2010 kl. 06:05 -0400, skrev John W. Eaton:
> I'm considering applying the following patch so that Octave can be
> compatible with the stupid Matlab-style short-circuit behavior for the
> normally element-by-element | and & operators.

I am not entirely against such a change. I think everybody here agrees
that the "feature" is just plain stupid, but it is not an uncommon
feature request. I do, however, think we should raise a warning every
time a | or a & is interpreted when the feature is enabled. I really
fear it will be hard to track down silly bugs otherwise.

Soren



reply via email to

[Prev in Thread] Current Thread [Next in Thread]