3 ms·
Not just instead of a service. Always write a library first. Not for any specific benefits, though these exist, but for architectural reasons. You can trivia
by mpweiher 3y ago
Not just instead of a service.
Always write a library first.
Not for any specific benefits, though these exist, but for architectural reasons. You can trivially wrap a library into pretty much everything else, but not the other way around.
In fact, on macOS/iOS I put all functionality in frameworks, as these have structure and can thus contain other frameworks and non-code resources, which is more difficult with a library.
https://blog.metaobject.com/2020/06/mpwtest-only-tests-frameworks.html https://blog.metaobject.com/2020/06/mpwtest-only-tests-frame...