Re:Ask HN: How do you decide what is a many-to-many vs. enum...
by oftenwrong on Thursday August 27, 2020 @12:43PM
(#24295515)
My advice for making these types of technical decisions would be to follow the spirit of YAGNI. That is, just do whatever is good enough for now. Do not overthink the decision. Do not over-engineer your implementation. Still, do a good job of it, and make it easy to change it later.
It sounds like you are most comfortable with the many-to-many approach, so I recommend using that option. Don't worry about hypothetical future problems that this approach may or may not bring. You can always change it later if it becomes a problem.
It sounds like you are most comfortable with the many-to-many approach, so I recommend using that option. Don't worry about hypothetical future problems that this approach may or may not bring. You can always change it later if it becomes a problem.
YAGNI: https://en.wikipedia.org/wiki/You_aren%27t_gonna_need_it