Thank you very much for the review! Really glad you find it useful π
Yup, the tests are a very important tool for developing robust software. I intentionally skipped tests in this post to avoid distraction from the main topic. Although, I mentioned the testability and how to improve it in the post text. So basically, we keep tests in mind along the way :β)
As for the complex UI logic, I would add some presenters to handle that. In my opinion, itβs better to separate the UI logic from the application logic. So basically, application layer would reflect the app data transformations, and UI presenters β only the complex UI changes.
In some cases, presenters might resemble finite state machines. I find them a very convenient way to describe the UI changes.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thank you very much for the review! Really glad you find it useful π
Yup, the tests are a very important tool for developing robust software. I intentionally skipped tests in this post to avoid distraction from the main topic. Although, I mentioned the testability and how to improve it in the post text. So basically, we keep tests in mind along the way :β)
As for the complex UI logic, I would add some presenters to handle that. In my opinion, itβs better to separate the UI logic from the application logic. So basically, application layer would reflect the app data transformations, and UI presenters β only the complex UI changes.
In some cases, presenters might resemble finite state machines. I find them a very convenient way to describe the UI changes.