• Dave@lemmy.nz
    link
    fedilink
    arrow-up
    4
    ·
    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
      8
      ·
      1 day 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