If you a+b, also a+=b: When defining binary arithmetic operators, provide their assignment versions as well, and write to minimize duplication and maximize efficiency.
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.