Hacker News new | ask | show | jobs
by 42e6e8c8-f7b8-4 1345 days ago
People talk about services like libraries aren't a thing. That exact same statement with `s/services/libraries/`.

"Write small, well tested libraries..."

If you have a library with a solid, small public interface and you carefully maintain compatibility on that interface with great testing, you can be decoupled. Plus you don't have 2 network interfaces and the internet injected into a call to the interface.

1 comments

Yes, this applies almost equally well to libraries as well. With the slight exception that you are not just bringing the library into your code but all of its dependencies as well. This makes it _slightly_ harder to wholesale change a library compared to a service.