Thread: Inverting Axis
View Single Post
  #11   Spotlight this post!  
Unread 02-02-2015, 13:59
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,089
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Inverting Axis

Quote:
Originally Posted by GeeTwo View Post
It still makes sense to me to ask for -x...rather than -1 * x
Nobody is arguing otherwise.

Quote:
..why not give the computer the simplest directions?
Because "simple" is subjective and a matter of personal preference.

That's why I asked if this (very reasonable, in my opinion) use of the unary operator in this case might be part of a widely-accepted Java coding standard that could be referenced in support of the recommendation.




Reply With Quote