• @kameecoding@lemmy.world
    link
    fedilink
    English
    27 months ago

    I use it to generate repetitive patterns that’s easy to guess what’s next, but PITA to write, eg. asserts in Unit tests

    • AlexanderESmith
      link
      fedilink
      17 months ago

      If your code has repeating patterns, you should probably be writing a function.