openmic.social is an uncensored community. You may encounter strong language, controversial opinions, and mature or NSFW material. You must be 18+ to browse. Illegal content is prohibited and removed on sight — please report it. By continuing, you accept that you may see content you personally disagree with.
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.
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.
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