Notes on learning to code