Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Teaching Beginners

DZone's Guide to

Teaching Beginners

The author laments on the difficulty with teaching beginners, how to sound human, and the concept that translating one problem to another is the hardest thing in software.

· Agile Zone
Free Resource

Learn more about how DevOps teams must adopt a more agile development process, working in parallel instead of waiting on other teams to finish their components or for resources to become available, brought to you in partnership with CA Technologies.

On Monday I built Conway’s Game of Life in Google Docs. Prep work for a short talk given to the non-technical part of our team at Yup. It was supposed to make it fun and easy to show everyone how to make their own lives easier.

“Is this how you hack websites?” <- first question

Nope. Not easy.

Everyone loved the game of life. They grokked that complex patterns emerge from four simple rules. They could see the beauty in that. They loved the Wikipedia gifs of gliders and oscillators and other things people have built in Life.

“This is a boring game, man. Not only is it slow, but you’re playing it in a spreadsheet.”

That was a fair point. The lack of timers in gDocs does make the game tedious to play and not many people associate spreadsheets with fun. I’m sure they exist, I just haven’t met them yet.

Nobody grokked how implementing a silly game from 1970 translates to something practical. The conceptual leap from “You can manipulate cells to make patterns” to “You can automate common tasks” proved too hard.

I should have seen that coming.

Translating one problem to another is the hardest thing in software. Like, the hardest and most hardcorest of things. It took four years of hard computer science before somebody showed me how to formally prove that one problem is the same as another.

I expected everyone to get it the first time they saw some code. That was dumb.

Seeing the potential in a technique isn’t quite as hard as proving that two problems are the same, but it’s still hard. My whole life consists of:

  1. See problem
  2. Find 1 of N common patterns that solves it
  3. Adapt solution to problem

^ this is why experience matters ^

Most people’s lives don’t look like that. I should have used a tangible example and that would make the presentation better and also miss the core tenet of coding.

From that point onward, the presentation was a train wreck.

You say variable. Their eyes glaze over. Three people explain it because they’ve taken JavaScript classes or they’re engineers. Each has a different explanation.

You say function, their eyes glaze over. Three people explain it. Each words it differently.

You say object, their eyes … you get the picture.

You say loop … yeah …

I never realized how much jargon programmers use. How much jargon use in my own head! Concepts I don’t even realize are jargon. Can I even sound like a normal person anymore?

Like, how do you explain an object? It’s an object. It’s a word that exists in the English language and has the same meaning both in English and in JavaScript.

But people don’t think of objects as bags of methods and properties. Programmers do.

It was like culture shock from hell. We couldn’t even find a common language to speak in. The whole thing was a mess.

I didn’t teach anyone how to code who didn’t know how to code before my talk. I don’t even think I excited anyone about learning more. My presentation didn’t make anyone feel empowered.

At most, I managed to convince everyone that programming is an impenetrable arcane magic known only to a select few.

My job security is now safe. Perhaps too safe.

Discover the warning signs of DevOps Dysfunction and learn how to get back on the right track, brought to you in partnership with CA Technologies.

Topics:
teaching

Published at DZone with permission of Swizec Teller, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}