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.
  • 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.

    wwkudu@c.imW This user is from outside of this forum
    wwkudu@c.imW This user is from outside of this forum
    wwkudu@c.im
    schrieb zuletzt editiert von
    #101

    @futurebird What a great set of discussions and thanks for being a teacher! (They pretty much make the world go round, imho.)

    I'm not one, but have taught some people coding over the years. Most recently I've seen that LLMs compound the problem you describe, because when the student has posted hundreds of lines of code to answer some fairly standard coding assignment, they have jumped so far into the deep end, that it's very hard for them to get out. The pasted code does all sorts of things they don't yet know about. Hopefully not your situation. Hopefully a lesson in its own right, but getting this young person to slow down and *do it themselves* was non-trivial.

    On a different tack, a project manager I knew once said energy project needs a project teddy bear. Any coding issues have to be explained to the bear first before getting senior help. The bear apparently solves 60%+ of the issues. Apocryphal, maybe.

    1 Antwort Letzte Antwort
    0
    • aaribaud@mastodon.artA aaribaud@mastodon.art

      @RogerBW @futurebird (some) C coders have a saying:

      If the compiler emits an error, then your code can't run;

      If the compiler emits a warning, then your code won't run, at least not the way you expect it to;

      If the compiler emits no errors and no warnings, then it's high time you updated your compiler.

      rogerbw@discordian.socialR This user is from outside of this forum
      rogerbw@discordian.socialR This user is from outside of this forum
      rogerbw@discordian.social
      schrieb zuletzt editiert von
      #102

      @aaribaud @futurebird When I moved from Perl to Rust as my primary language I was very pleased to find that whole classes of errors which had previously been runtime debugs turned into compile-time debugs. I am now an enthusiastic convert to strong typing.

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

        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?

        jerojasro@col.socialJ This user is from outside of this forum
        jerojasro@col.socialJ This user is from outside of this forum
        jerojasro@col.social
        schrieb zuletzt editiert von
        #103

        @futurebird when I bumped on that problem with my students, I made a lesson focused on:

        * provoking error messages
        * reading them, learning where in stacktraces is the info about them
        * correcting the error

        and categorizing them systematically: oh, NameError: this means I'm using a var that does not exist, maybe this is a typo here, or a typo there when I defined it.

        It helped them not panic when seeing errors and gave them tools to fix common ones on their own.

        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.

          C This user is from outside of this forum
          C This user is from outside of this forum
          coolcoder360@mastodon.gamedev.place
          schrieb zuletzt editiert von
          #104

          @futurebird not a teacher, so take with a cup of salt, but maybe having them not coding during your speaking parts could help?
          Like, locking their screens or all looking at you rather than typing at the machine.

          My guess is that anyone calling out like that got distracted with the coding and was not strictly paying attention to what was being said, so when they get the error, they may not see or hear anything aside from the error in front of them.

          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.

            ghostonthehalfshell@masto.aiG This user is from outside of this forum
            ghostonthehalfshell@masto.aiG This user is from outside of this forum
            ghostonthehalfshell@masto.ai
            schrieb zuletzt editiert von
            #105

            @futurebird

            Present them or a piece of code and tell them this piece code has a problem with it and ask them to figure it out if you can find a fun thing all the better.

            Have them perform a code review and look at code and say well figure out the failure modes of this piece of code.

            I would actually have code refuse be part of your class.

            1 Antwort Letzte Antwort
            0
            • ligasser@social.epfl.chL ligasser@social.epfl.ch

              @futurebird I'm also interested how to add LLMs to the mix: how to use them in a way we use IDEs now: we still know how to program/read code, but IDEs are so useful.

              This will add another level to the me/them, where sometimes I'd want them to use LLMs, other times not.

              But first I need to convince the school it's a good approach: I'm an external teacher, and as such have very little influence...

              semitones@tiny.tilde.websiteS This user is from outside of this forum
              semitones@tiny.tilde.websiteS This user is from outside of this forum
              semitones@tiny.tilde.website
              schrieb zuletzt editiert von
              #106

              @ligasser @futurebird i'm interested, but very skeptical as well. Before the LLM craze, I was working through the CS50 Intro to CS class that Harvard offers online for free through OpenCourseWare. Even back then, they offered a rubber duck debugging program that you could type your questions to. And back then, I don't think it did anything except quack. But today, I would be curious what it does because I suspect they would try to use LLMs.

              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.

                greg_b@climatejustice.socialG This user is from outside of this forum
                greg_b@climatejustice.socialG This user is from outside of this forum
                greg_b@climatejustice.social
                schrieb zuletzt editiert von
                #107

                @futurebird
                Teach The Ten Commandments of Egoless Programming. Especially "you are not your code" and "kindness to the coder, not the code"
                Managed Coder: Advice to a New Programmer https://share.google/ahp9eb3GQvBOIfo8b

                Teach paired programming, giving everyone a coding/debugging buddy. This is one of the most effective ways to level set coding standards and skills. Students learn from each other. It also prepares them for more public code reviews.

                1 Antwort Letzte Antwort
                0
                • mansr@society.oftrolls.comM mansr@society.oftrolls.com

                  @futurebird I know what you mean, and you're perfectly right when it comes to sane programming languages. However, C++ compilers have a habit of spewing out error messages the size of a Tolstoy novel in response to mistakes as trivial as a missing comma. Now I assume you're not teaching the kids C++ as that would be quite irresponsible.

                  semitones@tiny.tilde.websiteS This user is from outside of this forum
                  semitones@tiny.tilde.websiteS This user is from outside of this forum
                  semitones@tiny.tilde.website
                  schrieb zuletzt editiert von
                  #108

                  @mansr @futurebird my highschool programming class was C++ based, but it was a joke. It was paint by numbers and we didn't learn programming.

                  The main thing I learned in that class was that Gmail existed and my classmates sent me an invitation to use it. Because he was checking his email during class time.

                  1 Antwort Letzte Antwort
                  0
                  • mintspies@beige.partyM mintspies@beige.party

                    @AbramKedge @futurebird I do this (in the context of a different academic subject) with "bad" essays, where we work collaboratively to find errors and redraft improvements. Hope it's effective for you.

                    semitones@tiny.tilde.websiteS This user is from outside of this forum
                    semitones@tiny.tilde.websiteS This user is from outside of this forum
                    semitones@tiny.tilde.website
                    schrieb zuletzt editiert von
                    #109

                    @MintSpies @AbramKedge @futurebird when I was taking cartography classes our teacher would put up student work on the board but with the names removed and we would discuss it together. We didn't know if it was folks in our class or previous years and it was really helpful especially when you saw your own work up there and other people were kindly pointing out their suggestions.

                    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.

                      technetium@mastodon.nlT This user is from outside of this forum
                      technetium@mastodon.nlT This user is from outside of this forum
                      technetium@mastodon.nl
                      schrieb zuletzt editiert von
                      #110

                      @futurebird Are you familiar with the work of @Felienne ?

                      https://www.felienne.nl/over-mij/#english

                      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.

                        bigz@ohai.socialB This user is from outside of this forum
                        bigz@ohai.socialB This user is from outside of this forum
                        bigz@ohai.social
                        schrieb zuletzt editiert von
                        #111

                        @futurebird
                        I teach physics, but I know what you mean. I usually start by saying that 500 years ago ppl. like Leonardo da Vinci would easily have understood how the (classical) physics of a modern car works, but they would never have believed we could manufacture the parts with such precision. So the class is more about error control than new concepts.

                        I also remember it being quite a mental leap for me as a student.

                        1 Antwort Letzte Antwort
                        0
                        • davidames@social.linux.pizzaD davidames@social.linux.pizza

                          @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@neuromatch.socialI This user is from outside of this forum
                          iris@neuromatch.socialI This user is from outside of this forum
                          iris@neuromatch.social
                          schrieb zuletzt editiert von
                          #112

                          @DavidAmes @futurebird note however that the term is misused here (and elsewhere) -- learned helplessness is a clinical term describing people no longer attempting things that have previously gotten them punished (usually physically hurt), even if that response is no longer present. https://en.wikipedia.org/wiki/Learned_helplessness This is often an explanation for seemingly illogical behavior in people who've endured abuse, and it's frustrating that the word is now being used to shame people for exhibiting the behavior! I point this out not as a criticism of the blog piece but in hopes that we use different terms going forward.

                          1 Antwort Letzte Antwort
                          0
                          • wavesculptor@climatejustice.socialW wavesculptor@climatejustice.social

                            @futurebird "This never happens when I'm teaching math. Something about coding makes them forget some of their manners"

                            My take -- it's GOAL-ORIENTED. Maths is modelling, descriptive. Δ🧠-states

                            semitones@tiny.tilde.websiteS This user is from outside of this forum
                            semitones@tiny.tilde.websiteS This user is from outside of this forum
                            semitones@tiny.tilde.website
                            schrieb zuletzt editiert von
                            #113

                            @wavesculptor @futurebird what does change in brain states mean in this context?

                            wavesculptor@climatejustice.socialW 1 Antwort Letzte Antwort
                            0
                            • futurebird@sauropods.winF futurebird@sauropods.win

                              @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.

                              semitones@tiny.tilde.websiteS This user is from outside of this forum
                              semitones@tiny.tilde.websiteS This user is from outside of this forum
                              semitones@tiny.tilde.website
                              schrieb zuletzt editiert von
                              #114

                              @futurebird @freequaybuoy "works for me/on my machine"

                              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.

                                relache@woof.groupR This user is from outside of this forum
                                relache@woof.groupR This user is from outside of this forum
                                relache@woof.group
                                schrieb zuletzt editiert von
                                #115

                                @futurebird back in 1984, during my first computer class in high school, I can totally recall all of us students being the exact same way. Only difference was, the teacher would say "questions at the end" or ignore people calling out, and just get on with the entire lesson. Seriously.

                                And when it came to the walking around part, all you got was questions about what you were trying to do, or questions to make you think, you NEVER got the work done for you.

                                That was actually a fun teacher.

                                1 Antwort Letzte Antwort
                                0
                                • semitones@tiny.tilde.websiteS semitones@tiny.tilde.website

                                  @wavesculptor @futurebird what does change in brain states mean in this context?

                                  wavesculptor@climatejustice.socialW This user is from outside of this forum
                                  wavesculptor@climatejustice.socialW This user is from outside of this forum
                                  wavesculptor@climatejustice.social
                                  schrieb zuletzt editiert von
                                  #116

                                  @semitones @futurebird rather than eeg-waveforms, I'd think hunting-defending vs. socializing-exploring. one's polite, the other's time and response critical, manners dont matter. think of a cat doing these different things.

                                  wavesculptor@climatejustice.socialW 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.

                                    tbyg@mastodon.sdf.orgT This user is from outside of this forum
                                    tbyg@mastodon.sdf.orgT This user is from outside of this forum
                                    tbyg@mastodon.sdf.org
                                    schrieb zuletzt editiert von
                                    #117

                                    @futurebird
                                    I just made it a rule that they had to give it the old college try before they called me. I don't remember if I had any formal time limit or number of tries or anything. Probably not. I also encouraged them to help each other, with the caveat that they needed to make sure the person they were helping understood the help. And I really really emphasized asking for help when they needed it, after giving it the old college try, of course.

                                    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.

                                      lemgandi@mastodon.socialL This user is from outside of this forum
                                      lemgandi@mastodon.socialL This user is from outside of this forum
                                      lemgandi@mastodon.social
                                      schrieb zuletzt editiert von
                                      #118

                                      @futurebird An old mentor of mine introduced me to a useful acronym: KMAFYOYO

                                      'Kiss My Ass Fella, You are On Your Own'

                                      It is even phonetic.

                                      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.

                                        naptowncode@mastodon.onlineN This user is from outside of this forum
                                        naptowncode@mastodon.onlineN This user is from outside of this forum
                                        naptowncode@mastodon.online
                                        schrieb zuletzt editiert von
                                        #119

                                        @futurebird Maybe give them a homework assignment: Pay close attention to how many times in a day you hear somebody misspeak and correct themself, no matter how small it is. We all do this a lot, but it happens so fast and so often that we rarely notice.

                                        When it happens in a computer program, we call that a bug. But the computer won't have the zillion shared context clues that human language enjoys. It can't work out what you mean by itself. And it has very limited ways to ask for help.

                                        naptowncode@mastodon.onlineN 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.

                                          dimsumthinking@mastodon.socialD This user is from outside of this forum
                                          dimsumthinking@mastodon.socialD This user is from outside of this forum
                                          dimsumthinking@mastodon.social
                                          schrieb zuletzt editiert von
                                          #120

                                          @futurebird @nicklockwood to me that’s one of the fundamental truths of programming (or doing real math or science). Most of the time you’re wrong and trying to figure out how to fix it or address it. We do t spend much time on our successes we go on to the next thing that isn’t working. So I agree with your thoughts

                                          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