Rhodri Marsden: A real brain teaser – will I ever be able to crack code?

Geek Mythology

Many of us who consider ourselves technologically adept know next to nothing about how that technology works. It's embarrassing, but it's important to admit.

We pat ourselves on the back for having the remarkable ability to navigate our way through three levels of sub menus on an HD television, but barely ever give a thought to the heroic souls who constructed them by labouring over lines of code.

All we're good at, really, is using graphical interfaces that were designed and built by people cleverer than us. Even taking a peek at the code behind the website this article is published on is enough to make most of us wince and hurriedly close the window.

That ignorance, fear and antipathy that we display towards code is one of the main reasons for stopping the rot and getting children immersed in scripts and strings. From Code Club, the UK network of coding clubs for young people aged between nine and 11, to CoderDojo, a global movement of free clubs, we're hearing an increasingly strident message that was best summed up by Steve Jobs: "[Everybody] should learn how to program a computer, because it teaches you how to think."

Of course, if you've ever marvelled at the slick game-play in Call Of Duty or the impressive features of Final Cut Pro, you'd probably consider the prospect of writing anything useful somewhat daunting. But it is possible, even with minimal experience.

This was recently demonstrated by a homeless man in Manhattan by the name of Leo Grand; after being offered free coding lessons by a passing commuter, he seized the opportunity, and this week his first app – 3,621 lines of code that facilitate car pooling in New York – has been launched on iOS and Android to much acclaim.

Right, then. I've got a fairly analytical mind, I like maths and logic problems, I've built the odd website, so surely I could emulate Leo's achievement? This week, code.org is running Hour Of Code, an initiative to get people to take an initial 60-minute coding lesson; 5 million people worldwide have committed to participate, and I'm one of them.

On Monday, I decided to tackle an hour-long online lesson in Python, but I quickly became bogged down in syntax and started to wonder whether I'd plunged in at an optimistically high level.

Writers like myself may take pride in being pernickety and precise about punctuation, but if you get it wrong the worst thing that can happen is that someone will give you a pedantic rollocking in the comments section.

In Python, however, if you fail to indent lines, you miss spaces or use the wrong brackets, the program just won't run. That's a recipe for deep frustration for anyone like me who's a) impatient and b) hasn't taken a lesson in anything for years.

The Codecademy app, which has also been facilitating hour-long tutorials on coding basics this week, gave me an easier ride, but I still found myself in the absurd position of mumbling that the programming language "isn't logical". Which is like telling Raymond Blanc that his recipes "don't work". But I will persist. Give a man a program and he'll be amused for a day; teach a man how to program and he'll be happily debugging subroutines for a lifetime.

coderdojo.com

codeclub.org.uk

codecademy.com

python.org

twitter.com/rhodri

Arts and Entertainment
Brendan O'Carroll as Agnes Brown in the 2014 Mrs Brown's Boys Christmas special
tvCould Mrs Brown's Boys have taken lead for second year?
Arts and Entertainment
Jack O'Connell stars as Louis Zamperini in Angelina Jolie's Unbroken
film review... even if Jack O'Connell is excellent
News
news
News
peopleIt seems you can't silence Katie Hopkins, even on Christmas Day...
PROMOTED VIDEO
Life and Style
ebookNow available in paperback
ebooks
ebookPart of The Independent’s new eBook series The Great Composers
Arts and Entertainment
Wolf (Nathan McMullen), Ian (Dan Starky), The Doctor (Peter Capaldi), Clara (Jenna Coleman), Santa Claus (Nick Frost) in the Doctor Who Christmas Special (BBC/Photographer: David Venni)
tvOur review of the Doctor Who Christmas Special
News
i100
Arts and Entertainment
tvChristmas special reviewed
Arts and Entertainment
Jenna Coleman as Clara Oswald in the Doctor Who Christmas special
tvForget the rumours that Clara Oswald would be quitting the Tardis
Arts and Entertainment
tv
Latest stories from i100
Have you tried new the Independent Digital Edition apps?
Independent Dating
and  

By clicking 'Search' you
are agreeing to our
Terms of Use.

ES Rentals

    iJobs Job Widget
    iJobs Gadgets & Tech

    Ashdown Group: Moodle Developer (PHP ,Linux, Apache, MySQL, Moodle)

    £35000 - £45000 per annum: Ashdown Group: Moodle Developer (PHP ,Linux, Apache...

    Recruitment Genius: Web Developer

    £17000 - £30000 per annum: Recruitment Genius: This is a fantastic opportunity...

    Recruitment Genius: Junior .NET Web Developer - Winform / MVC

    £21000 - £26000 per annum: Recruitment Genius: This Award-winning pharma softw...

    Recruitment Genius: Senior Java Developer

    £30000 - £45000 per annum: Recruitment Genius: A Senior Java Developer is requ...

    Day In a Page

    A Christmas without hope: Fears grow in Gaza that the conflict with Israel will soon reignite

    Christmas without hope

    Gaza fears grow that conflict with Israel will soon reignite
    After 150 years, you can finally visit the grisliest museum in the country

    The 'Black Museum'

    After 150 years, you can finally visit Britain's grisliest museum
    No ho-ho-hos with Nick Frost's badass Santa

    No ho-ho-hos with Nick Frost's badass Santa

    Doctor Who Christmas Special TV review
    Chilly Christmas: Swimmers take festive dip for charity

    Chilly Christmas

    Swimmers dive into freezing British waters for charity
    Veterans' hostel 'overwhelmed by kindness' for festive dinner

    Homeless Veterans appeal

    In 2010, Sgt Gary Jamieson stepped on an IED in Afghanistan and lost his legs and an arm. He reveals what, and who, helped him to make a remarkable recovery
    Isis in Iraq: Yazidi girls killing themselves to escape rape and imprisonment by militants

    'Jilan killed herself in the bathroom. She cut her wrists and hanged herself'

    Yazidi girls killing themselves to escape rape and imprisonment
    Ed Balls interview: 'If I think about the deficit when I'm playing the piano, it all goes wrong'

    Ed Balls interview

    'If I think about the deficit when I'm playing the piano, it all goes wrong'
    He's behind you, dude!

    US stars in UK panto

    From David Hasselhoff to Jerry Hall
    Grace Dent's Christmas Quiz: What are you – a festive curmudgeon or top of the tree?

    Grace Dent's Christmas Quiz

    What are you – a festive curmudgeon or top of the tree?
    Nasa planning to build cloud cities in airships above Venus

    Nasa planning to build cloud cities in airships above Venus

    Planet’s surface is inhospitable to humans but 30 miles above it is almost perfect
    Surrounded by high-rise flats is a little house filled with Lebanon’s history - clocks, rifles, frogmen’s uniforms and colonial helmets

    Clocks, rifles, swords, frogmen’s uniforms

    Surrounded by high-rise flats is a little house filled with Lebanon’s history
    Return to Gaza: Four months on, the wounds left by Israel's bombardment have not yet healed

    Four months after the bombardment, Gaza’s wounds are yet to heal

    Kim Sengupta is reunited with a man whose plight mirrors the suffering of the Palestinian people
    Gastric surgery: Is it really the answer to the UK's obesity epidemic?

    Is gastric surgery really the answer to the UK's obesity epidemic?

    Critics argue that it’s crazy to operate on healthy people just to stop them eating
    Homeless Veterans appeal: Christmas charity auction Part 2 - now LIVE

    Homeless Veterans appeal: Christmas charity auction

    Bid on original art, or trips of a lifetime to Africa or the 'Corrie' set, and help Homeless Veterans
    Pantomime rings the changes to welcome autistic theatre-goers

    Autism-friendly theatre

    Pantomime leads the pack in quest to welcome all