• arctanthrope@lemmy.world
    link
    fedilink
    English
    arrow-up
    88
    arrow-down
    3
    ·
    4 days ago

    I’m sure these topics become relevant at some point, but I’m doubtful that it’s absolutely necessary to address them in an intro course. how does leftist ideology help kids understand what a while loop does

    like, literacy can do all of these things too, that doesn’t mean you have to introduce those concepts at the same time as the abc’s

    • Dejected Warp Core@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      ·
      edit-2
      3 days ago

      The distinction here is programming vs computer science. You’re correct that it’s not strictly necessary, but it really depends on the area of study. Please allow me a small rant about the distinction - this isn’t directed at you.

      Programming, honestly, could be taught like a trade. It’s a skillset and a craft, with best practices and even regulations in some industries. But one doesn’t need to know anything about how we got here or the fundamentals that make a computer work electronically, in order to write code.

      Computer Science necessarily tracks back through the history of computing, in order to provide a grounding in how all this stuff ticks. You can’t talk about Babbage without Ada Lovelace, you can’t talk about Alan Turing without what the government did to him, and you can’t bring up ARPANET or the internet without talking about Berkley techno-hippies. Every step of the way are people taking capitalist and government interest and subverting it to meet more worldly and socialized goals. Everyone in this story has an agenda and, shocker, the smartest people tend to dominate in this field and reliably don’t fuck with conservative nonsense.

    • ayyy@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      33
      arrow-down
      7
      ·
      4 days ago

      Hooooo boy, this person is going to make a terrible and incomprehensible intro class full of irrelevant infodumping lol.

    • JasonDJ@lemmy.zip
      link
      fedilink
      English
      arrow-up
      11
      ·
      edit-2
      3 days ago
      basket = []
      for pos in billionaires: 
          if pos not in basket: 
      -       basket += guillotine(b)
      +      basket += guillotine(pos)  # Corrected iterable naming
      
          • JasonDJ@lemmy.zip
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            3 days ago

            Nah he’ll get a TypeError. Not seeing why, honestly…

            Unless you consider the merciless and systematic execution of all billionaires to be genocide…which I guess is technically fair…but it’s for a good cause! (…said every genocidist ever…)

            Of course, I changed the name of the iterable…

            And we’re talking about intro to compsci…getting a bit ahead of ourselves going right from loops to comprehension.

            • pheelicks@lemmy.zip
              link
              fedilink
              English
              arrow-up
              8
              ·
              3 days ago

              He just called everyone in the population a billionaire and executed them without actually checking if they are in fact billionaires. Somewhat too close to reality in some scenarios for my taste…

            • Randelung@lemmy.world
              link
              fedilink
              English
              arrow-up
              7
              ·
              3 days ago

              Nope, billionaire is a designator, not a discriminator. They’re iterating over population and decapitating everyone regardless of wealth. ;)

              It’s missing an if <someOtherDesignatorForPopulatioMember> in billionaires in the comprehension.

        • abc@suppo.fi
          link
          fedilink
          English
          arrow-up
          3
          ·
          3 days ago

          Haha, that’s either horrible if you don’t know what you just did there or brilliant parody if you did.

    • bort@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      5
      ·
      4 days ago

      in my first semester of compsci we learned about chomsky hierarchy pretty much on day one, while we learned about while loops like a month later.