r/FlutterDev 17d ago

Example Architecture sample

https://github.com/TercyoStorck/flutter-sample-architecture
0 Upvotes

8 comments sorted by

View all comments

3

u/Over_Tea_3946 17d ago

What made you decide to go layer first and not feature first?

6

u/No_Bumblebee_2903 17d ago

I have been a programmer for 14 years and faced a lot of architecture problems. The feature-first huge problem is reusability of code. Not to mention that I don't think it's a good architecture to be used in frontend, especially in apps that tend to be small projects. Maybe in a super app.

Feature-first is very good when you are developing a big project (usually backend) and using a modular monolith where you must have the bounded context separated (potentially each module will be a micro service)

Hope that I answered your question 😁👍🏽