• Miaou@jlai.lu
    link
    fedilink
    arrow-up
    36
    arrow-down
    4
    ·
    8 months ago

    The amount of people nitpicking about the brand of pseudocode or arguing the question is tricky reminds me of some coworkers, and not the good kind.

    If you belong to the above category, try to learn some new programming language / read about some algorithm descriptions (not implementation) and go out take some sun. The question is super intuitive if you’re not stuck to a single paradigm or language.

    • OR3X@lemm.ee
      link
      fedilink
      arrow-up
      14
      arrow-down
      1
      ·
      8 months ago

      Exactly. It’s pseudo code. It’s meant to be universally understandable, not language specific.

        • ikka@lemmy.sdf.org
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          8 months ago

          The first language I tried to learn as a kid was Batch scripting…

          (edit: and then some VBScript along the way! Eventually worked my way to C++ though)