r/howdidtheycodeit • • Jun 22 '21

Question How do you keep adding features?

How do you have a variable length scope? How do you keep adding things beyond the initial architecture without everything collapsing?

10 Upvotes

5 comments sorted by

View all comments

Show parent comment

3

u/ybdiel Jun 22 '21

To add to this, by using interfaces you can then easily switch implementations with DI / Dependency Injection https://en.wikipedia.org/wiki/Dependency_injection