Like playing sport or taking part in the school play, coding teaches skills from which all pupils can benefit.