• Dave@lemmy.nz
    link
    fedilink
    arrow-up
    3
    ·
    2 days ago

    Couldn’t most people here could do it in one? The code is in the post and newlines can be removed like in minified javascript.

    • monica_b1998@lemmy.worldOP
      link
      fedilink
      arrow-up
      7
      ·
      2 days ago

      technically yes, although i use the “1 instruction per line” rule and give the number so that readers have a rough idea of the complexity of the solution