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

AND and OR



Time for another favorite flame. I can't stand the idea of using
AND and OR for control primitives. I can't think of a more obscure
feature, than using AND and OR for control primitives. It completely
obscures the purpose of the code. If you are using it for a boolean
value, then you should use AND or OR, but if you are using as a
selection mechanism, then you should use some other command.
I dont know why people persist in using AND and OR. It would seem
to be about as mnemonic to have a function
(COMPLETELY-CONFUSE-THE-READER-AND <form> <form> <form>) that
preforms the same operation. A function called IF can only
make code more readable. Maybe someone should come up with a syntax
that performs the control tasks of AND and OR and rename it.