[CLN-list] doc: "Obfuscating operators"
Bruno Haible
bruno at clisp.org
Wed Jan 23 00:07:47 CET 2008
Richard B. Kreckel wrote:
> > For me the shortcut operators
> > as in a+=b are more readable than the long a=a+b form.
>
> I do admit that I find the shortcuts more readable, too.
I think it depends. When you are summing up a power series,
sum += factor/(2*n+1)
makes perfect sense. But I also have seen things like this:
x += x >> 2;
which really is less readable than
x = 1.25 * x;
Bruno
More information about the CLN-list
mailing list