Reading a number like 1000000000000 on a line of code may be a breeze for your computer but is next to impossible for a human to do without getting a headache or nose bleed. What can we do to make large numbers more readable to the human eye?
Accessing items in a 2D array can sometimes be a pain. I have created an Array2D class that extends Array and eases some of that pain.
Shifting any number x to the left by y bits is the same as multiplying x by 2 to the power of y. What? How? Why?