• sakphul@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    9
    ·
    6 hours ago

    For me this was an interesting read. I liked the approach to make core business logic accessible through a CLI instead of just UI. This makes testing a lot easier, no matter if you are using an LLM to execute/create the tests or a conventional approach.

    • VibeSurgeon@piefed.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 hours ago

      It’s pretty good practice to have your app modularized to the point where you can execute the core business logic separated from your UI layer, for which you then don’t even need a CLI.

      In the same vein, it’s good practice to have your UI be modularized to the point where you can test its logic separated from the core business logic

    • monomon@programming.dev
      link
      fedilink
      English
      arrow-up
      5
      ·
      6 hours ago

      I agree, every program should be built this way. It also speeds up development early on, and makes it easier to have multiple front ends.