View Single Post
  #10   Spotlight this post!  
Unread 22-02-2004, 21:38
Robert Hafner's Avatar
Robert Hafner Robert Hafner is offline
FIRST Alumni
no team
 
Join Date: Mar 2003
Rookie Year: 2000
Location: Springfield. MA
Posts: 34
Robert Hafner is on a distinguished road
Send a message via AIM to Robert Hafner Send a message via MSN to Robert Hafner Send a message via Yahoo to Robert Hafner
Re: Pressure switch code

Quote:
Originally Posted by Joe Ross
There is a difference between it being easy for a human to read, and easy for a computer to understand.

Personally, I choose what is easier for me to understand, and in the 2% of cases where it needs to be fast, I write well commented assembly.
If people ask a question, I'll give easy to understand code. I just wrote that up real quick, and didn't bother to shove it in as few lines of code as possible.

As far as four lines, six lines, or two lines in ASM- this isn't ASM.
Reply With Quote