AI can now generate code in seconds. So, do young people still need to learn how to code? The answer is very much yes.
National Coding Week, running from 14–20 September, is a great opportunity to explore not only how we teach programming, but why understanding code continues to matter.
Learning to code is about much more than remembering the syntax of a particular programming language. It helps young people develop computational thinking: breaking problems down, spotting patterns, creating sequences, making decisions and testing whether their ideas actually work.
And arguably, those skills become even more important as AI becomes increasingly capable of producing code for us. If a tool generates a program, someone still needs to understand what it is doing, question whether it works, identify problems and make improvements. Understanding the principles behind programming gives young people the confidence to be creators and critical users of technology, rather than simply consumers of it.
Get coding this week
Whether your pupils are taking their very first steps in programming or are already getting to grips with Python, National Coding Week gives us a good excuse to make something, solve something or simply have a go. The National Centre for Computing Education has pulled together a range of free classroom resources for primary and secondary teachers, including units from the Teach Computing Curriculum.
For primary pupils, ideas range from moving robots and creating algorithms through to sequencing sounds, repetition, physical computing and building games using variables. At secondary, pupils can explore programming through Scratch, mobile app development and Python, providing a pathway from visual programming into increasingly sophisticated ways of creating with code.
Explore National Coding Week resources
Take coding beyond the lesson
Coding also creates some brilliant opportunities to connect computing with the wider world of STEM. Activities such as Astro Pi Mission Zero allow young people to write a simple computer program that can run aboard the International Space Station, while Code Club and micro:bit activities provide opportunities to use coding creatively and tackle real-world problems.
That crossover is one of the things that makes computing so powerful. Code can help us collect scientific data, control engineering systems, explore space, design new technologies and solve problems across almost every STEM discipline.
Building confidence to teach programming
Of course, celebrating coding is not only about pupils. For teachers who do not come from a computing background, programming can sometimes feel like one of the more daunting parts of the curriculum. You certainly do not need to know every answer before you start. The National Centre for Computing Education offers free resources alongside professional development covering areas including Scratch, algorithms, programming pedagogy and Python. There are options for teachers taking their first steps as well as those looking to develop more advanced subject knowledge.
Approaches such as pair programming, where pupils work together on a program, and PRIMM, which structures learning around Predict, Run, Investigate, Modify and Make, can also help shift programming lessons away from simply getting the ‘right’ piece of code and towards discussion, reasoning and problem solving.
Explore Teach Computing
What does coding look like in your classroom?
National Coding Week is a chance to celebrate the brilliant things young people can create, but we would also love to hear about the reality of teaching programming in your setting.
Tell us in the STEM Community:
- What coding or programming activities work particularly well with your pupils?
- What do learners find most difficult?
- Have tools such as Scratch, Python, micro:bit or physical computing helped engage reluctant learners?
- How are conversations about AI changing the way you teach coding?
- If you are less confident teaching programming, what would help?
Share your experiences, resources and ideas with other teachers in the Community, whether it is a first algorithm written in primary school or a Python program at secondary, every opportunity to experiment with code helps young people understand a little more about the digital world they are growing up in.
Click for: Teaching and Leading Primary Computing or Teaching and Leading Secondary Computing
Happy National Coding Week!