, you've got all these people above stairs who give instructions to people below stairs and those people then do as they are told.
"I think we might finish up in a similar world here. People who are upstairs will have all this stuff done for them because they will know how to get it coded, and other people will just finish up being told to do things by computers - a bit like when we sit at red lights waiting for the lights to change at 2am when there's no traffic coming.
"People who understand how to manipulate computers and coding and robots will finish up with significantly more power than people who don't, who will be forever cross that they are being told to do things by machines."
He added: "Curiously enough, it appears to be easier to introduce coding to younger pupils. They are more willing to play and happy to construct simple games despite the relative complexities of the ideas required to do that.
"Older pupils want instant gratification but also want highly complex outcomes - a combination of desires that quickly leads to disillusionment."
Mr Yorston also stressed the importance of children learning "computational thinking" - problem-solving using the principles of computer science - across the curriculum.
"Computational thinking needs to be seen as a fundamental skill for everyone, not just computer scientists," he said. "It will eventually drive a fundamental change in the mindset of our national curriculum, integrating computational ideas into other disciplines. But that won't happen until targeted resources are available to subject specialists."
How the internet affects teen brains
More research "urgently" needs to be done into the effect of the internet on teenagers' brains, a neuroscientist argues.
Sarah-Jayne Blakemore, professor of cognitive neuroscience at University College London, told the Independent Schools Council's ICT Strategy Conference last week that although "no evidence" of a negative effect had been discovered, one might still exist.
Professor Blakemore, author of The Learning Brain, says it is extremely difficult to conduct proper scientific studies on the issue because they have to be large-scale and involve a control group.
"Video games and the internet are a really important part of teenagers' lives, so we need to understand whether, or how, [the internet] is having an effect on their developing brains," Professor Blakemore adds. "It might be having a positive effect or a negative effect or both, we just don't know."