Timeline for How to easily avoid circular dependencies
Current License: CC BY-SA 4.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 21, 2024 at 0:59 | comment | added | Mooing Duck | Years ago my codebase switched to interface files for each of the classes to resolve cyclic dependencies, and it took years for us to realize we did it wrong. The right thing is to create event listener interfaces. All the code depends on the event listener interfaces, and never on each other. With this, our tests are getting rapidly smaller and faster and less flaky, and the code is a lot cleaner. | |
| Feb 20, 2024 at 18:06 | review | Suggested edits | |||
| Feb 20, 2024 at 20:37 | |||||
| Feb 20, 2024 at 7:35 | history | edited | Doc Brown | CC BY-SA 4.0 | added 108 characters in body |
| Feb 20, 2024 at 7:29 | history | edited | Doc Brown | CC BY-SA 4.0 | added 108 characters in body |
| Feb 20, 2024 at 7:19 | history | edited | Doc Brown | CC BY-SA 4.0 | added 108 characters in body |
| Feb 19, 2024 at 19:01 | history | edited | Doc Brown | CC BY-SA 4.0 | deleted 3 characters in body |
| Feb 19, 2024 at 18:56 | history | answered | Doc Brown | CC BY-SA 4.0 |