• DogMuffins@discuss.tchncs.de
    link
    fedilink
    arrow-up
    29
    arrow-down
    3
    ·
    1 year ago

    Maybe not so small?

    I never encountered these math symbols but for loops are like step 3 in any programming language after variables and conditionals

    • stoneparchment@possumpat.io
      link
      fedilink
      arrow-up
      16
      arrow-down
      4
      ·
      1 year ago

      lol, like 2.5% of the USA are programmers and even if we say twice that number have experimented and taken programming classes, that’s like 1 in 20 people who would even have ever encountered a for loop. This nsf report says ~70% of highschoolers have taken Algebra 2 or a more advanced math course, which is when sum notation is usually introduced. I think 70% is a little greater than 5%!

      • BeautifulMind ♾️@lemmy.world
        link
        fedilink
        arrow-up
        12
        arrow-down
        1
        ·
        1 year ago

        That’s interesting to hear; somehow my algebra 2 skipped sum notation (and it wasn’t remedially covered in subsequent math classes) but I’ve been writing code for decades now and seeing it in code totally explains the sum notation for me

      • kartoffelsaft@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Huh. When I took Calculus II in community college, the professor introduced sum notation and like 2/3 of the class was like “wow that’s cool I didn’t know about that”. I don’t remember ever being formally taught it before that but it still surprises be how few people where already familiar with it.