use pen and paper to write and study code before punching the keys into the screen
Better way #1: use pen and paper to write and study code before using OCR to turn the writings into text files.
Better way #2: use a stylus to write and study code on a touchscreen before using OCR to turn the handwriting into text files.