You have 30 minutes to teach a small class programming. What do you use in your lesson to teach the ideas of programming (e.g. make a hangman game, create a calculator, etc)?

  • 5
    Tick tack toe game.
    It's quick, it's simple, and there's only so many possible variations.
  • 4
    Happy 5k club @theNSA
  • 3
    @C0D4 Thanks 😊
  • 3
    Dinosaur platformer game (like the chrome offline one)
  • 4
    Do I pop your 5K bubble or not ? 😛
  • 4
    @theNSA well played sir 🤣
  • 3
    @cursee happy 20k 😁
  • 10
    Programming? In 30 minutes?
    30 weeks would be a good start.
  • 7
    One does not teach programming in 30 minutes. You better just play with them instead
  • 0
  • 4
    30 minutes is enough time to put, "hello world" in a loop.
  • 2
    *puts on derek banas' 30 minute java tutorial and says "TAKE NOTES"*
  • 1
    Carpet tiles are good for teaching about 2D arrays.
  • 4
    It fucking depends on:
    -Their age,
    -Their initial skill,
    -Their will to live and do that class,
    -Their ability to behave decently,
    -And much more...

    If they have never seen any code then you can only teach them basic programming paragims (that is much better than starting with a particular launguage straight away) or singluar loop with if in it in a launguage that is not too complicated (python, JS, maybe C#, Java) more complicated C or C++ might have too much on the screen for them to focus effectivly.
  • 2
    @Gregozor2121 I almost fully agree 👍

    C/C++ would have very little on the screen for a simple "Hello World" demo. Far less than Java.

    Maybe use something that is oriented on natural language instead like Smalltalk or Haskell?
  • 4
    @irene I do agree with you. I once had to teach a class of 13 year olds to program. But me and the other person teaching shifted our focus to creating interest in programming instead. We made two exercises, one for people who had never programmed before and one for people who either had or wanted to try. The people who didn't have any experience could mess around with game logic by using Scratch. For the other people we made pong in java. It was a very fun lesson were a lot of kids were constantly showing each other what they made! What they made was simple but fun :)
  • 1
  • 2
    Depending on the context, Id agree with @jol2710. With kids, you cant force it or you ruin it for them for a long time. Its better to go abstract and just make them hyped for something with examples and simple demos, the less code the better at this point.

    With young adults or adults, do a simple number gessing game or a really tiny text adventure... Something you are excited about too. Allow for some creativity if possible.

    Most important of all, whatever group of people it is. Be excited about it yourself. You are what they expect to become if they do what you do. So if you're boring, monotone and slow you will not only drive people to sleep, but also make them believe thats what programming turns people into. Energy is very important for the ones teaching and thats why whatever you show them, you should be excited to make it too.
Your Job Suck?
Get a Better Job
Add Comment