Comments by "p11" (@porky1118) on "DRY Software Patterns u0026 Microservices" video.
-
3
-
3
-
1
-
8:00 That's basically what I do with my projects.
If I see some functionality, that might be useful for other programs as well, or when I need it for another program and don't want to rewrite it, I create a new repo, add this submodule of the existing program into that repo and let the other program use it.
When I find a bug in my new repo or have ideas for improvement, or if I need to extend it to work with one of my programs depending on it, I have to upgrade the repo, but not all programs, which depend on it. Sometimes I do, sometimes I don't, most of the time I at least plan to upgrade to a newer version some day.
Especially when using Rust, it's easy to have different programs using different versions of the same library.
1
-
1