The ever-growing use of technology in society makes it clear that computer programming may be a valuable skill. But how do our brains learn to code?