I started this off with the first thing I thought of: if statements to check and see if all values were equal or zero.
After explaining how ugly this looked to my friend, he reminded me of the boolean operators &&, and that if one expression in the set of && wasn't true, it would return false. After a quick do over, it looks a lot nicer and cleaner (and probably runs better) than what I had previous.
Next tests, ahoy.
No comments:
Post a Comment