Notes on coding