You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code is hard to organize and its not very easy to maintain.
Solution
This app reminds me of TDD tutorial by Reso Coder, Episode 1 of that. Since a lot of the code is already in git I can try to start from scratch and do it this way. It will also enable extensions down the line.
Better flexibility in terms of user facing UI and ability to rewrite large chunks of impl. details without affecting the rest of the code (due to code structure).
Disadvantages
It may be an overkill and there could be some issue later that I don't know of.
The text was updated successfully, but these errors were encountered:
This seems like the way to go since it provides some nice structure of presentation -> domain -> data, enables better code reuse (e.g. multiple usecases calling into the same repository funtions) and allows for great test coverage.
m-kuzmin
changed the title
TDD by Reso coder?
TDD by Reso coder (Actually Uncle Bob)?
May 12, 2022
Problem
The code is hard to organize and its not very easy to maintain.
Solution
This app reminds me of TDD tutorial by Reso Coder, Episode 1 of that. Since a lot of the code is already in git I can try to start from scratch and do it this way. It will also enable extensions down the line.
Could Close #2.
Pros
Better flexibility in terms of user facing UI and ability to rewrite large chunks of impl. details without affecting the rest of the code (due to code structure).
Disadvantages
It may be an overkill and there could be some issue later that I don't know of.
The text was updated successfully, but these errors were encountered: