• FlexibleToast@lemmy.world
    link
    fedilink
    arrow-up
    23
    ·
    11 hours ago

    It’s super easy to learn how algorithms and what not work without knowing the syntax of a language. I can tell you how a binary search tree works, but I have no clue how to code it in Java because I’ve never used Java.

    • TheSlad@sh.itjust.works
      link
      fedilink
      arrow-up
      15
      ·
      10 hours ago

      And similarly, i could read code in a language I dont know, understand what it does and how it works even if I don’t know the syntax well enough to write it myself

      • FlexibleToast@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        5 hours ago

        Yeah, exactly. At least any fairly modern language. I don’t think I could just pick up assembly and read it without the class I took. Heck, I don’t think I could read it anymore now that it’s been several years since that class.

    • grrgyle@slrpnk.net
      link
      fedilink
      arrow-up
      8
      ·
      11 hours ago

      I mean same, but you can look to the official docs for like what a loop or queue looks like