Mastodon Skip to content
  • Home
  • Aktuell
  • Tags
  • Über dieses Forum
Einklappen
Grafik mit zwei überlappenden Sprechblasen, eine grün und eine lila.
Abspeckgeflüster – Forum für Menschen mit Gewicht(ung)

Kostenlos. Werbefrei. Menschlich. Dein Abnehmforum.

  1. Home
  2. Uncategorized
  3. Wanted: Advice from CS teachers

Wanted: Advice from CS teachers

Geplant Angeheftet Gesperrt Verschoben Uncategorized
teaching
359 Beiträge 191 Kommentatoren 1 Aufrufe
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • wakame@tech.lgbtW wakame@tech.lgbt

    @futurebird

    I think this meme captures a point I am trying to make very nicely.

    thefwguy@techhub.socialT This user is from outside of this forum
    thefwguy@techhub.socialT This user is from outside of this forum
    thefwguy@techhub.social
    schrieb zuletzt editiert von
    #135

    @wakame @futurebird It's seems a contradiction but actually .. not 😆 😈

    1 Antwort Letzte Antwort
    0
    • futurebird@sauropods.winF futurebird@sauropods.win

      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.

      jmht@theatl.socialJ This user is from outside of this forum
      jmht@theatl.socialJ This user is from outside of this forum
      jmht@theatl.social
      schrieb zuletzt editiert von
      #136

      @futurebird There's always the classic return: "Why?"

      futurebird@sauropods.winF 1 Antwort Letzte Antwort
      0
      • deborahh@cosocial.caD deborahh@cosocial.ca

        @futurebird @ShaulaEvans yes! The constructive value of "I don't know" lies in sitting with (using) the discomfort, and daring to try something that may not work (yet). I was a great debugger, if I say so myself 🤭.

        deborahh@cosocial.caD This user is from outside of this forum
        deborahh@cosocial.caD This user is from outside of this forum
        deborahh@cosocial.ca
        schrieb zuletzt editiert von
        #137

        @futurebird @ShaulaEvans https://mastodon.social/@dahukanna/115873119314743574

        1 Antwort Letzte Antwort
        0
        • jmht@theatl.socialJ jmht@theatl.social

          @futurebird There's always the classic return: "Why?"

          futurebird@sauropods.winF This user is from outside of this forum
          futurebird@sauropods.winF This user is from outside of this forum
          futurebird@sauropods.win
          schrieb zuletzt editiert von
          #138

          @jmht

          Why what?

          jmht@theatl.socialJ 1 Antwort Letzte Antwort
          0
          • futurebird@sauropods.winF futurebird@sauropods.win

            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.

            thefwguy@techhub.socialT This user is from outside of this forum
            thefwguy@techhub.socialT This user is from outside of this forum
            thefwguy@techhub.social
            schrieb zuletzt editiert von
            #139

            @futurebird First of all, amazing somebody still teach programming.
            40+ years experience in SW/FW developing here and the simple truth is that not everybody is cut to program computer.
            Is not only matter of knowledge, is matter about how a person think and is curious about the world and things working.
            Every single one person who interrupt and ask, will end up using google and AI to write a program.
            No personal ideas, no spending hours trying to understand the problem and the nature of errors.
            In my career I saw "new" generations of developers knowing less and less. Almost nobody of new generations knows what a computer is and how is working. It seems a useless information but is exactly what make you understand the errors.
            Errors exists all along the "chain", from your code to code you are using (compiler/OS/drivers/etc.) up to the electronic.
            Maybe the way you and others teach programming should change, making more like a mystery hour 🤔

            1 Antwort Letzte Antwort
            0
            • futurebird@sauropods.winF futurebird@sauropods.win

              @jmht

              Why what?

              jmht@theatl.socialJ This user is from outside of this forum
              jmht@theatl.socialJ This user is from outside of this forum
              jmht@theatl.social
              schrieb zuletzt editiert von
              #140

              @futurebird "My code isn't working!" "Why?"

              I realize that's a flip response to your inquiry, but, ultimately it is what you're looking to enable your students to do, right? They should be able to say more than "it isn't working" which is uninformative. So, it isn't working .. what else can you say about what is - or isn't - happening and what hypothesis can you give as to why? And if you have a hypothesis, how can you test it?

              1 Antwort Letzte Antwort
              0
              • futurebird@sauropods.winF futurebird@sauropods.win

                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

                asweetgentleman@mstdn.socialA This user is from outside of this forum
                asweetgentleman@mstdn.socialA This user is from outside of this forum
                asweetgentleman@mstdn.social
                schrieb zuletzt editiert von
                #141

                @futurebird Just an idea but what about "switching" students around so they have to check someone else's code?

                I used to do that with my students, asking them to grade each other papers.
                It's always easier to see others' mistakes and it flatters their ego... I mean, self-confidence.

                Also it's a sneaky way to make them realize that teaching is NOT easy.😉

                1 Antwort Letzte Antwort
                0
                • futurebird@sauropods.winF futurebird@sauropods.win

                  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.

                  beasthebiologist@ecoevo.socialB This user is from outside of this forum
                  beasthebiologist@ecoevo.socialB This user is from outside of this forum
                  beasthebiologist@ecoevo.social
                  schrieb zuletzt editiert von
                  #142

                  @futurebird I taught an Intro to R for Biologists course a few years ago and my students had the same problem... and the solution was exactly this, giving students a list of the most common errors for reference & fixing some broken code together.

                  More than anything it helped my students' confidence- I think a lot of them just needed a place to start. After a week or two they weren't even using the list I gave them and fixed errors on their own

                  1 Antwort Letzte Antwort
                  0
                  • futurebird@sauropods.winF futurebird@sauropods.win

                    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. #CSEdu

                    kbm0@mastodon.socialK This user is from outside of this forum
                    kbm0@mastodon.socialK This user is from outside of this forum
                    kbm0@mastodon.social
                    schrieb zuletzt editiert von
                    #143

                    @futurebird I have on occasion worked with software professionals who behave much the same way. 😒

                    futurebird@sauropods.winF 1 Antwort Letzte Antwort
                    0
                    • futurebird@sauropods.winF futurebird@sauropods.win

                      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/

                      unfmeghan@dmv.communityU This user is from outside of this forum
                      unfmeghan@dmv.communityU This user is from outside of this forum
                      unfmeghan@dmv.community
                      schrieb zuletzt editiert von
                      #144

                      @futurebird this is a great outline for a “debug” lesson. I try to scaffold up to writing their own code over the semester:
                      Assignment 1 Read code: give them working code and they add comments.
                      Assignment 2 Debug code: give them broken code WITH comments of what it’s SUPPOSED to do and see if they can fix it. Both typos and logic errors. But I give this assignment after teaching about break points and other debugging tools.
                      Only after that are they allowed to start writing code. After that they tend to bug me less in class with their errors (pun intended 😜).

                      1 Antwort Letzte Antwort
                      0
                      • futurebird@sauropods.winF futurebird@sauropods.win

                        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.

                        gray17@mastodon.socialG This user is from outside of this forum
                        gray17@mastodon.socialG This user is from outside of this forum
                        gray17@mastodon.social
                        schrieb zuletzt editiert von
                        #145

                        @futurebird I've never taught a class, but my first thought is to try starting with a live-coding session where I make mistakes myself

                        1 Antwort Letzte Antwort
                        0
                        • kbm0@mastodon.socialK kbm0@mastodon.social

                          @futurebird I have on occasion worked with software professionals who behave much the same way. 😒

                          futurebird@sauropods.winF This user is from outside of this forum
                          futurebird@sauropods.winF This user is from outside of this forum
                          futurebird@sauropods.win
                          schrieb zuletzt editiert von
                          #146

                          @kbm0

                          Well perhaps they have nostalgia for those responsibility-free middle school days.

                          1 Antwort Letzte Antwort
                          0
                          • futurebird@sauropods.winF futurebird@sauropods.win

                            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. #CSEdu

                            mfolschette@mamot.frM This user is from outside of this forum
                            mfolschette@mamot.frM This user is from outside of this forum
                            mfolschette@mamot.fr
                            schrieb zuletzt editiert von
                            #147

                            @futurebird I try to separate clearly the moments when they code and the moments when I explain stuff. When I explain, they have to listen (not look at their computers). They naturally tend to not interrupt with “it doesn't work” comments, and usually ask interesting questions. For this to work, I always promise that I will share with them the code I typed I front of them (for that, I use my institution's platform).

                            mfolschette@mamot.frM 1 Antwort Letzte Antwort
                            0
                            • futurebird@sauropods.winF futurebird@sauropods.win

                              Sometimes I have them write the code on paper with the computers closed. And this is fine, but I'd rather have them using the IDE or textedit and there is a limit to how much fun you can have with code on paper.

                              And it does tend to be the weaker students who are almost happy to find something to stop the onslaught of information "see it doesn't work! we can't go on!" and that obviously makes me very grouchy.

                              I need them to see this is like saying "Teacher my pencil broke! Stop the lesson!"

                              dianshuo@mstdn.ioD This user is from outside of this forum
                              dianshuo@mstdn.ioD This user is from outside of this forum
                              dianshuo@mstdn.io
                              schrieb zuletzt editiert von
                              #148

                              @futurebird can I ask : is this a “recent” phenomenon? I don’t really recall this behaviour except as an outlier when I did CS (which was a while ago…)

                              futurebird@sauropods.winF 1 Antwort Letzte Antwort
                              0
                              • dianshuo@mstdn.ioD dianshuo@mstdn.io

                                @futurebird can I ask : is this a “recent” phenomenon? I don’t really recall this behaviour except as an outlier when I did CS (which was a while ago…)

                                futurebird@sauropods.winF This user is from outside of this forum
                                futurebird@sauropods.winF This user is from outside of this forum
                                futurebird@sauropods.win
                                schrieb zuletzt editiert von
                                #149

                                @dianshuo

                                It's always been a thing though I do think it's been getting a little better.

                                1 Antwort Letzte Antwort
                                0
                                • futurebird@sauropods.winF futurebird@sauropods.win

                                  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. #CSEdu

                                  dougwade@mastodon.xyzD This user is from outside of this forum
                                  dougwade@mastodon.xyzD This user is from outside of this forum
                                  dougwade@mastodon.xyz
                                  schrieb zuletzt editiert von
                                  #150

                                  @futurebird I’ve mostly taught adults, so this might not work for you, but I would try explaining that at the end of the lecture, you don’t need them to have working code, you need them to have a working understanding. They’re missing the important part of class, the learning, to focus on an unimportant part of class, producing a working program. If it’s not working, focus up and wait until we have a pause. To me, this sounds more like an etiquette question than a programming one.

                                  dougwade@mastodon.xyzD 1 Antwort Letzte Antwort
                                  0
                                  • mfolschette@mamot.frM mfolschette@mamot.fr

                                    @futurebird I try to separate clearly the moments when they code and the moments when I explain stuff. When I explain, they have to listen (not look at their computers). They naturally tend to not interrupt with “it doesn't work” comments, and usually ask interesting questions. For this to work, I always promise that I will share with them the code I typed I front of them (for that, I use my institution's platform).

                                    mfolschette@mamot.frM This user is from outside of this forum
                                    mfolschette@mamot.frM This user is from outside of this forum
                                    mfolschette@mamot.fr
                                    schrieb zuletzt editiert von
                                    #151

                                    @futurebird Another problem is explaining to them that errors are good and that the compiler is their friend, as you already explained. It's not easy with C, for instance, where the compiler spits very obscure error messages.

                                    Good luck!

                                    1 Antwort Letzte Antwort
                                    0
                                    • dougwade@mastodon.xyzD dougwade@mastodon.xyz

                                      @futurebird I’ve mostly taught adults, so this might not work for you, but I would try explaining that at the end of the lecture, you don’t need them to have working code, you need them to have a working understanding. They’re missing the important part of class, the learning, to focus on an unimportant part of class, producing a working program. If it’s not working, focus up and wait until we have a pause. To me, this sounds more like an etiquette question than a programming one.

                                      dougwade@mastodon.xyzD This user is from outside of this forum
                                      dougwade@mastodon.xyzD This user is from outside of this forum
                                      dougwade@mastodon.xyz
                                      schrieb zuletzt editiert von
                                      #152

                                      @futurebird maybe even just a “it doesn’t need to compile right now, we’re focused on <concept>” and leaving the compiler angry

                                      1 Antwort Letzte Antwort
                                      0
                                      • futurebird@sauropods.winF futurebird@sauropods.win

                                        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.

                                        cat_lefey@pagan.plusC This user is from outside of this forum
                                        cat_lefey@pagan.plusC This user is from outside of this forum
                                        cat_lefey@pagan.plus
                                        schrieb zuletzt editiert von
                                        #153

                                        @futurebird That does sound frustrating, especially if you have a good flow with the lesson and then have to stop suddenly. I'm not a school teacher, but I mentor a robotics team, and we always code in pairs with one student "driving" and the other just observing for errors. It means we stop less for small silly things like typos, but also enforces the idea that there *will* be errors, it's just how coding works. I'll say, "it takes four eyeballs," and then they don't feel too bad about messing up. Usually then the students can check in with their partner first if something is wrong, and not just immediately call an adult over. I don't know how this would translate to a classroom setting though, might get loud.

                                        1 Antwort Letzte Antwort
                                        0
                                        • futurebird@sauropods.winF futurebird@sauropods.win

                                          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.

                                          drdave89@toot.walesD This user is from outside of this forum
                                          drdave89@toot.walesD This user is from outside of this forum
                                          drdave89@toot.wales
                                          schrieb zuletzt editiert von
                                          #154

                                          @futurebird Do they work in groups? And ask them to consult with other groups . Record that plays "It isn't broken, the code is doing exactly what you asked it to do" on loop.

                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen



                                          Copyright (c) 2025 abSpecktrum (@abspecklog@fedimonster.de)

                                          Erstellt mit Schlaflosigkeit, Kaffee, Brokkoli & ♥

                                          Impressum | Datenschutzerklärung | Nutzungsbedingungen

                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Über dieses Forum