Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

21
  • 3
    Exactly. Split UI interactions up into API actions; the API provides the low-level CRUD operations and the UI layer combines those in ways that make sense for the type of interactions that are natural for the medium. Commented Apr 6 at 12:04
  • 1
    This question is similar to: Are exceptions for flow control best practice in Python?. If you believe it’s different, please edit the question, make it clear how it’s different and/or how the answers on that question are not helpful for your problem. Commented Apr 6 at 12:39
  • 3
    While I do see the dupe speaking to similar issues it doesn't address the UI vs CLI. Commented Apr 6 at 15:02
  • 2
    You talk about a CLI, a UI, and Curses as if they are all some form of user interface. A CLI and a (G)UI are user interfaces, but curses is a library. Can you clarify the desired architecture of both applications? Commented Apr 6 at 15:02
  • 2
    @HugoSchongin: when you edit the question, I would recommend not to invalidate the existing answers. Currently, I don't think the risk is high that the question will get closed as a duplicate (and even if it will, chances are high it will be reopened again). Commented Apr 6 at 21:23