Introduction to coding patterns