Alex Esplin wrote:
> I can't remember a time when code I've come across with multiple
> statements on a line was usefully readable and maintainable. With the
> size of the codebase at my job, easily readable maintainable code has
> become infinitely more important.
Not even one-line if statements?
if (go_up) { y--; }
if (go_up_right) { x++; y--; }
or for pythonistas:
if go_up: y -= 1
if go_up_right: x +=1 ; y -= 1
They have their place.
--------------------
BYU Unix Users Group
http://uug.byu.edu/
The opinions expressed in this message are the responsibility of their
author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG.
___________________________________________________________________
List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list