Initially I was skeptical of CoderDojo. Here’s another thing IT professionals are doing for free. Why isn’t there Economics Dojo,
Medical Dojo, Legal Dojo? Why is a profession that at times is
extremely competitive, has long demanding hours, low job security being glamorized beyond a point of credible fiction? Why are people being told they need to code when there are plenty of careers where you will never need to code and always will be? And shouldn’t are kids be out getting exercise, exploring nature? At least that’s what
Steve Jobs thought.
It didn’t stop there. There is this trap that all parents fall for that if they get their kids involved something young they’ll be a step ahead and if they don’t they’ll be a step behind. CoderDojo is not immune to this quasi chimera. So, I started thinking over my many glorious years in the IT profession, I have worked with a range of coders from the exceptional to the cryptically
insane. If I was to differentiate between a good coder and a not so good coder the number one differentiator is habits. Yes habits. Good coders follow good habits:
- They write unit tests first.
- They are always seeking feedback on their code.
- If something complex is happening, they seek to build consensus.
- They follow agreed conventions and industry standards.
These good habits mean you end up with something maintainable. On the other side, coders with bad habits:
- They never write adequate tests.
- They don’t take feedback well (usually because they are not used to it).
- If something complex is happening, they hack something up and you find out about it later than you should.
- They don’t follow conventions – just stick to they way they do things that only makes sense to them.
So someone with the same aptitude, the same I.Q., the same hairstyle ends up producing something
that is much more difficult to maintain.
Don’t get me wrong, there was a time when aptitude was much more important. Complex C++ memory management, any assembly code required serious aptitude and a base level will always be needed. There are about 50 important principles from encapsulation to recursion that you need some sort of aptitude to get. But now with Stackoverflow, Google, lots of great libraries and frameworks mean it is really more about habits. Pick a technology everyone is using and you get lots of support for free.
So learning to code at age 9, is that going to do anything to help you get good habits? Of course it isn’t. So then what’s the point? The point is for one thing only:
As a friend recently said, it is the new mechano and lego. Let them code but make sure they still play with lego and mechano.
So in my case, my older son (age 7) recently came home from school crying because he wanted to learn scratch. My wife gave him an old laptop and after reading a few PDFs he was away coding a little game talking about loops, scripts and wanting to change the mp3 files. I was a bit shocked watching him stare at the screen trying to figure out his own code, coming out with tech babble and being able to get something working all by himself. Next his friend was over. Is this pair programming for kids?
Anyway, no doubt, this new generation will have more information available to them than any before. This provides all sorts of creative avenues not just in code. However, I can’t agree with articles such as this recent one from RTE, telling us why your kid should code?
Kids should do what is healthy, safe and fun. If they find Economics, Law or Medicine more stimulating than coding great. Perhaps, the experts in those professions could also run free classes for all kids. Alas, I somewhat doubt that will ever happen…
|Reference:||CoderDojo, so what’s the point? from our JCG partner Alex Staveley at the Dublin’s Tech Blog blog.|