Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Darkly)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Uncategorized
  3. Wanted: Advice from CS teachers

Wanted: Advice from CS teachers

Scheduled Pinned Locked Moved Uncategorized
200 Posts 128 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • myrmepropagandistF This user is from outside of this forum
    myrmepropagandistF This user is from outside of this forum
    myrmepropagandist
    wrote last edited by
    #1

    Wanted: Advice from CS teachers

    When teaching a group of students new to coding I've noticed that my students who are normally very good about not calling out during class will shout "it's not working!" the moment their code hits an error and fails to run. They want me to fix it right away. This makes for too many interruptions since I'm easy to nerd snipe in this way.

    I think I need to let them know that fixing errors that keep the code from running is literally what I'm trying to teach.

    myrmepropagandistF Ian K TindaleU Dave Ames 🟨🟥D JohannesJ FubaroqueF 42 Replies Last reply
    1
    0
    • myrmepropagandistF myrmepropagandist

      Wanted: Advice from CS teachers

      When teaching a group of students new to coding I've noticed that my students who are normally very good about not calling out during class will shout "it's not working!" the moment their code hits an error and fails to run. They want me to fix it right away. This makes for too many interruptions since I'm easy to nerd snipe in this way.

      I think I need to let them know that fixing errors that keep the code from running is literally what I'm trying to teach.

      myrmepropagandistF This user is from outside of this forum
      myrmepropagandistF This user is from outside of this forum
      myrmepropagandist
      wrote last edited by
      #2

      Example of the problem:

      Me: "OK everyone. Next we'll make this into a function so we can simply call it each time-"

      Student 1: "It won't work." (student who wouldn't interrupt like this normally)

      Student 2: "Mine's broken too!"

      Student 3: "It says error. I have the EXACT same thing as you but it's not working."

      This makes me feel overloaded and grouchy. Too many questions at once. What I want them to do is wait until the explanation is done and ask when I'm walking around.

      myrmepropagandistF James 🦉 #FBPE 🇪🇺F Phil Thane ✅P Miguel GuhlinM Paco (2026: New) HopeP 12 Replies Last reply
      0
      • myrmepropagandistF myrmepropagandist

        Example of the problem:

        Me: "OK everyone. Next we'll make this into a function so we can simply call it each time-"

        Student 1: "It won't work." (student who wouldn't interrupt like this normally)

        Student 2: "Mine's broken too!"

        Student 3: "It says error. I have the EXACT same thing as you but it's not working."

        This makes me feel overloaded and grouchy. Too many questions at once. What I want them to do is wait until the explanation is done and ask when I'm walking around.

        myrmepropagandistF This user is from outside of this forum
        myrmepropagandistF This user is from outside of this forum
        myrmepropagandist
        wrote last edited by
        #3

        I think they become anxious when their code isn't working the same as what I have up on the projector and they want to get it fixed RIGHT AWAY so they won't fall behind.

        Then when one of them starts calling out they all do it.

        I may take some time to explain this.

        This never happens when I'm teaching math. Something about coding makes them forget some of their manners, and become less self-sufficient. "It's broke! I'm helpless!"

        What is that about?

        That’s a morayB myrmepropagandistF Je ne suis pas gothJ Not a Spring OnionW ? 12 Replies Last reply
        1
        0
        • myrmepropagandistF myrmepropagandist

          Wanted: Advice from CS teachers

          When teaching a group of students new to coding I've noticed that my students who are normally very good about not calling out during class will shout "it's not working!" the moment their code hits an error and fails to run. They want me to fix it right away. This makes for too many interruptions since I'm easy to nerd snipe in this way.

          I think I need to let them know that fixing errors that keep the code from running is literally what I'm trying to teach.

          Ian K TindaleU This user is from outside of this forum
          Ian K TindaleU This user is from outside of this forum
          Ian K Tindale
          wrote last edited by
          #4

          @futurebird why can’t it just actually work all the time

          1 Reply Last reply
          0
          • myrmepropagandistF myrmepropagandist

            Example of the problem:

            Me: "OK everyone. Next we'll make this into a function so we can simply call it each time-"

            Student 1: "It won't work." (student who wouldn't interrupt like this normally)

            Student 2: "Mine's broken too!"

            Student 3: "It says error. I have the EXACT same thing as you but it's not working."

            This makes me feel overloaded and grouchy. Too many questions at once. What I want them to do is wait until the explanation is done and ask when I'm walking around.

            James 🦉 #FBPE 🇪🇺F This user is from outside of this forum
            James 🦉 #FBPE 🇪🇺F This user is from outside of this forum
            James 🦉 #FBPE 🇪🇺
            wrote last edited by
            #5

            @futurebird This winds me up at work too, particularly in demos, maybe because people think it appears clever but really demonstrates a lack of perhaps the most vital skills in any profession, especially tech. Focus, patience, listening.

            myrmepropagandistF 1 Reply Last reply
            0
            • James 🦉 #FBPE 🇪🇺F James 🦉 #FBPE 🇪🇺

              @futurebird This winds me up at work too, particularly in demos, maybe because people think it appears clever but really demonstrates a lack of perhaps the most vital skills in any profession, especially tech. Focus, patience, listening.

              myrmepropagandistF This user is from outside of this forum
              myrmepropagandistF This user is from outside of this forum
              myrmepropagandist
              wrote last edited by
              #6

              @freequaybuoy

              "I have the exact same thing as you but it's not working"

              99 times out of 100 no, no you do not have the "exact same thing" you've made a typo.

              Because the whole point of it being a computer is that if you have the exact same code it always does the exact same things.

              SemitonesS 1 Reply Last reply
              0
              • myrmepropagandistF myrmepropagandist

                Wanted: Advice from CS teachers

                When teaching a group of students new to coding I've noticed that my students who are normally very good about not calling out during class will shout "it's not working!" the moment their code hits an error and fails to run. They want me to fix it right away. This makes for too many interruptions since I'm easy to nerd snipe in this way.

                I think I need to let them know that fixing errors that keep the code from running is literally what I'm trying to teach.

                Dave Ames 🟨🟥D This user is from outside of this forum
                Dave Ames 🟨🟥D This user is from outside of this forum
                Dave Ames 🟨🟥
                wrote last edited by
                #7

                @futurebird have a look at some of the stuff Phill Bagge wrote about Learnt Helplessness https://philbagge.blogspot.com/2015/02/eight-steps-to-promote-problem-solving.html?m=1 and ways to work around it. I remember him doing lots of related work on it about 10 years ago.

                Iris Young (he/they/she) (PhD)I 1 Reply Last reply
                0
                • myrmepropagandistF myrmepropagandist

                  I think they become anxious when their code isn't working the same as what I have up on the projector and they want to get it fixed RIGHT AWAY so they won't fall behind.

                  Then when one of them starts calling out they all do it.

                  I may take some time to explain this.

                  This never happens when I'm teaching math. Something about coding makes them forget some of their manners, and become less self-sufficient. "It's broke! I'm helpless!"

                  What is that about?

                  That’s a morayB This user is from outside of this forum
                  That’s a morayB This user is from outside of this forum
                  That’s a moray
                  wrote last edited by
                  #8

                  @futurebird I work closely with a CS teacher snd I am a language teacher and just this past Friday we had a conversation about this exact phenomenon, which we both experience. I think because they can use their first language 'perfectly' and I think because their devices work 'perfectly' they think it should be easy to do right the first time and panic when they can't. They don't know what 'perfect' looks like in math so maybe they're more patient with it. 1/2

                  That’s a morayB C++ Wage SlaveC 2 Replies Last reply
                  0
                  • myrmepropagandistF myrmepropagandist

                    I think they become anxious when their code isn't working the same as what I have up on the projector and they want to get it fixed RIGHT AWAY so they won't fall behind.

                    Then when one of them starts calling out they all do it.

                    I may take some time to explain this.

                    This never happens when I'm teaching math. Something about coding makes them forget some of their manners, and become less self-sufficient. "It's broke! I'm helpless!"

                    What is that about?

                    myrmepropagandistF This user is from outside of this forum
                    myrmepropagandistF This user is from outside of this forum
                    myrmepropagandist
                    wrote last edited by
                    #9

                    My students aren't lazy, but they *can* be a little perfectionist: scared to take risks or sit with not having the answer right away.

                    They are really upset when their code won't run... but staying calm and *systematically* looking for the cause of the problem, knowing that if you just work through the tree of possible causes you will find it is not something they are good at.

                    I think I need to teach this.

                    Maybe I will give them some broken code and we will find the errors together.

                    FlicF myrmepropagandistF Abram Kedge🏴󠁧󠁢󠁳󠁣󠁴󠁿🇨🇦A Peter GoulbornP T 12 Replies Last reply
                    0
                    • That’s a morayB That’s a moray

                      @futurebird I work closely with a CS teacher snd I am a language teacher and just this past Friday we had a conversation about this exact phenomenon, which we both experience. I think because they can use their first language 'perfectly' and I think because their devices work 'perfectly' they think it should be easy to do right the first time and panic when they can't. They don't know what 'perfect' looks like in math so maybe they're more patient with it. 1/2

                      That’s a morayB This user is from outside of this forum
                      That’s a morayB This user is from outside of this forum
                      That’s a moray
                      wrote last edited by
                      #10

                      @futurebird Part of it is the Instagram effect where they see all this 'effortless perfection' and get super frustrated when they hit a mistake, give up before even trying anything.

                      1 Reply Last reply
                      0
                      • myrmepropagandistF myrmepropagandist

                        I think they become anxious when their code isn't working the same as what I have up on the projector and they want to get it fixed RIGHT AWAY so they won't fall behind.

                        Then when one of them starts calling out they all do it.

                        I may take some time to explain this.

                        This never happens when I'm teaching math. Something about coding makes them forget some of their manners, and become less self-sufficient. "It's broke! I'm helpless!"

                        What is that about?

                        Je ne suis pas gothJ This user is from outside of this forum
                        Je ne suis pas gothJ This user is from outside of this forum
                        Je ne suis pas goth
                        wrote last edited by
                        #11

                        @futurebird i have freshmen with the same behavior. I think the immediate feedback of the computer is a double edged sword. I don't know about your students, but mine don't even read carefully what the error message is (not even talking about the fact that the errors are written in English, not French 😱). All they see is "I did like the teacher and it's not working. Therefore the computer must be right."

                        Je ne suis pas gothJ 1 Reply Last reply
                        0
                        • myrmepropagandistF myrmepropagandist

                          I think they become anxious when their code isn't working the same as what I have up on the projector and they want to get it fixed RIGHT AWAY so they won't fall behind.

                          Then when one of them starts calling out they all do it.

                          I may take some time to explain this.

                          This never happens when I'm teaching math. Something about coding makes them forget some of their manners, and become less self-sufficient. "It's broke! I'm helpless!"

                          What is that about?

                          Not a Spring OnionW This user is from outside of this forum
                          Not a Spring OnionW This user is from outside of this forum
                          Not a Spring Onion
                          wrote last edited by
                          #12

                          @futurebird
                          I know this from people I taught programming.

                          And I think the main problem is that the computer is judging you. In a way.

                          This can come in two forms:
                          a) The program fails to run, shows you an error, etc.
                          b) The IDE adds an error or warning to a line saying: This is wrong.

                          So there is "objective proof" right there on the screen that you "are a failure". This is not some other person saying it, this is a piece of technology.

                          This is also something I hate from a usability/user experience perspective.

                          The computer doesn't say: "Sorry, I don't understand what you mean with that line."
                          It says: "This line can not be processed because the user is dumb."

                          (Not quite, overemphasizing.)

                          When taking about critique or blame, there is this typical antipattern: "Everybody uses a fork."

                          No, they don't. I use a fork, I want you to use a fork, but instead of saying that, I invoke a mystical "everybody".

                          Not a Spring OnionW RoknrolR myrmepropagandistF MichaelM 4 Replies Last reply
                          0
                          • myrmepropagandistF myrmepropagandist

                            My students aren't lazy, but they *can* be a little perfectionist: scared to take risks or sit with not having the answer right away.

                            They are really upset when their code won't run... but staying calm and *systematically* looking for the cause of the problem, knowing that if you just work through the tree of possible causes you will find it is not something they are good at.

                            I think I need to teach this.

                            Maybe I will give them some broken code and we will find the errors together.

                            FlicF This user is from outside of this forum
                            FlicF This user is from outside of this forum
                            Flic
                            wrote last edited by
                            #13

                            @futurebird maybe reiterate at the start of the demo, and even put up a short statement on the wall so you can point at it rather than answer! Should drum it in quickly

                            1 Reply Last reply
                            0
                            • myrmepropagandistF myrmepropagandist

                              My students aren't lazy, but they *can* be a little perfectionist: scared to take risks or sit with not having the answer right away.

                              They are really upset when their code won't run... but staying calm and *systematically* looking for the cause of the problem, knowing that if you just work through the tree of possible causes you will find it is not something they are good at.

                              I think I need to teach this.

                              Maybe I will give them some broken code and we will find the errors together.

                              myrmepropagandistF This user is from outside of this forum
                              myrmepropagandistF This user is from outside of this forum
                              myrmepropagandist
                              wrote last edited by
                              #14

                              So Your Code Won't Run

                              1. There *is* an error in your code. It's probably just a typo. You can find it by looking for it in a calm, systematic way.

                              2. The error will make sense. It's not random. The computer does not "just hate you"

                              3. Read the error message. The error message *tries* to help you, but it's just a computer so YOUR HUMAN INTELLIGENCE may be needed to find the real source of error.

                              4. Every programmer makes errors. Great programmers can find and fix them.

                              1/

                              myrmepropagandistF Roger BW 😷R Rpsu (326 ppm)R Mans RM CavyherdC 10 Replies Last reply
                              0
                              • myrmepropagandistF myrmepropagandist

                                My students aren't lazy, but they *can* be a little perfectionist: scared to take risks or sit with not having the answer right away.

                                They are really upset when their code won't run... but staying calm and *systematically* looking for the cause of the problem, knowing that if you just work through the tree of possible causes you will find it is not something they are good at.

                                I think I need to teach this.

                                Maybe I will give them some broken code and we will find the errors together.

                                Abram Kedge🏴󠁧󠁢󠁳󠁣󠁴󠁿🇨🇦A This user is from outside of this forum
                                Abram Kedge🏴󠁧󠁢󠁳󠁣󠁴󠁿🇨🇦A This user is from outside of this forum
                                Abram Kedge🏴󠁧󠁢󠁳󠁣󠁴󠁿🇨🇦
                                wrote last edited by
                                #15

                                @futurebird

                                > Maybe I will give them some broken code and we will find the errors together.

                                I think this is an excellent idea!

                                Mint SpiesM 1 Reply Last reply
                                0
                                • Je ne suis pas gothJ Je ne suis pas goth

                                  @futurebird i have freshmen with the same behavior. I think the immediate feedback of the computer is a double edged sword. I don't know about your students, but mine don't even read carefully what the error message is (not even talking about the fact that the errors are written in English, not French 😱). All they see is "I did like the teacher and it's not working. Therefore the computer must be right."

                                  Je ne suis pas gothJ This user is from outside of this forum
                                  Je ne suis pas gothJ This user is from outside of this forum
                                  Je ne suis pas goth
                                  wrote last edited by
                                  #16

                                  @futurebird no great insight to be honest. If I was explaining something I tell them to first listen to what I have to say, and later read carefully the error message. Recently I've witnessed students sometimes misread severely what to write (they confuse upper case I's and lower case l's), but mostly because they don't even try to make sense of what they're writing: they're just copying without thinking.

                                  Speed demon 🇪🇺 🇳🇴🇺🇦🇵🇸H 1 Reply Last reply
                                  0
                                  • myrmepropagandistF myrmepropagandist

                                    I think they become anxious when their code isn't working the same as what I have up on the projector and they want to get it fixed RIGHT AWAY so they won't fall behind.

                                    Then when one of them starts calling out they all do it.

                                    I may take some time to explain this.

                                    This never happens when I'm teaching math. Something about coding makes them forget some of their manners, and become less self-sufficient. "It's broke! I'm helpless!"

                                    What is that about?

                                    ? Offline
                                    ? Offline
                                    Guest
                                    wrote last edited by
                                    #17

                                    @futurebird Maybe some direct instruction troubleshooting lessons?

                                    Distribute code broken in specific ways and show them how to tell which problem is showing up?

                                    The calling out is definitely contageous, I recognise that. Can you structure in class troubleshooting time as you go - perhaps each kid has a visual token so you can see at a glance who needs help and who can give it? Something like a card with different colours front and back for 👍/👎?

                                    1 Reply Last reply
                                    0
                                    • myrmepropagandistF myrmepropagandist

                                      My students aren't lazy, but they *can* be a little perfectionist: scared to take risks or sit with not having the answer right away.

                                      They are really upset when their code won't run... but staying calm and *systematically* looking for the cause of the problem, knowing that if you just work through the tree of possible causes you will find it is not something they are good at.

                                      I think I need to teach this.

                                      Maybe I will give them some broken code and we will find the errors together.

                                      Peter GoulbornP This user is from outside of this forum
                                      Peter GoulbornP This user is from outside of this forum
                                      Peter Goulborn
                                      wrote last edited by
                                      #18

                                      @futurebird Not a teacher, but that sounds great.

                                      Learning what error messages are and what they can tell you is so important. It's so different to many other subjects where you don't get that kind of information when something goes wrong, plus they will have grown up using computers of various kinds where an error message really is just a cryptic string of words that they can't do anything with.

                                      Iris Young (he/they/she) (PhD)I 1 Reply Last reply
                                      0
                                      • myrmepropagandistF myrmepropagandist

                                        My students aren't lazy, but they *can* be a little perfectionist: scared to take risks or sit with not having the answer right away.

                                        They are really upset when their code won't run... but staying calm and *systematically* looking for the cause of the problem, knowing that if you just work through the tree of possible causes you will find it is not something they are good at.

                                        I think I need to teach this.

                                        Maybe I will give them some broken code and we will find the errors together.

                                        T This user is from outside of this forum
                                        T This user is from outside of this forum
                                        Nobody ناچیز नास्ति (he/him)
                                        wrote last edited by
                                        #19

                                        @futurebird

                                        When I have conducted software training at work for a diverse age complement, same thing would happen. I think, if you let them know in advance that it happened to classes in the past and you will be walking around to see what's going, that will reduce it. It did reduce the 3d modeling training disruptions I faced.

                                        1 Reply Last reply
                                        0
                                        • myrmepropagandistF myrmepropagandist

                                          So Your Code Won't Run

                                          1. There *is* an error in your code. It's probably just a typo. You can find it by looking for it in a calm, systematic way.

                                          2. The error will make sense. It's not random. The computer does not "just hate you"

                                          3. Read the error message. The error message *tries* to help you, but it's just a computer so YOUR HUMAN INTELLIGENCE may be needed to find the real source of error.

                                          4. Every programmer makes errors. Great programmers can find and fix them.

                                          1/

                                          myrmepropagandistF This user is from outside of this forum
                                          myrmepropagandistF This user is from outside of this forum
                                          myrmepropagandist
                                          wrote last edited by
                                          #20

                                          Things to Try:
                                          * look for typos
                                          * look at what the error message indicates.

                                          If these don't work consider reverting your last changes to the last working version of your code. Then try making the changes again, but be more careful.

                                          If you can't revert the changes, start removing bits of the code systematically. Remove the things you think might cause the error and run the code again. Isolate the change or code that causes the problem.

                                          You can be a great programmer.

                                          2/2

                                          Anna (editie 2026)V Linus GasserL hoertaufH Bryan WrightC The Human CapybaraA 6 Replies Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          Powered by NodeBB Contributors
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups