Algebra in school is like a compiler with shitty type inference: you rarely have to write type annotations and you can easily end up with impossible states. - eviltoast
    • snek_boi@lemmy.mlOP
      link
      fedilink
      arrow-up
      8
      ·
      1 year ago

      Fair enough, I changed “never” to “rarely” :) I’m actually curious, did you have to specify the ‘type’ often?

      • xigoi@lemmy.sdf.org
        link
        fedilink
        arrow-up
        6
        ·
        1 year ago

        If I remember correctly, good textbooks always specified the type. There were even exercises like “find the maximum possible domain of this function”. And in higher-level mathematics, it’s pretty much a sin to not specify the type.