Double-edge Microservices: APIs the New Singleton
The singleton pattern has got a bad reputation over the years due to be widely overused in the incorrect use cases. With the proliferation of microservices, have APIs become the new singleton?
The singleton pattern has got a bad reputation over the years due to be widely overused in the incorrect use cases. With the proliferation of microservices, have APIs become the new singleton?
I have observed quite a few articles lately that elaborate on issues with TDD. Nevertheless, they focused on the first letter but miss the focus of the other two letters.
Over the last few years, some practices appear to be more a dogma than a value adding practice. One of this is Pull Requests.
zero trust environments (ex. Open Source). An attack vector on this type of environment is the ability of anyone to contribute, meaning you could inject code that could create known vulnerabilities that packages will inherit. That is why maintainers validate code from unknown users.

IS there any value of doing PRs when people work collocated? What is the cost of PRs in trust environments?
The value that normally people give to PRs is the one of having a peer review process. Nevertheless, we will see later in this article that there are less invasive ways to do this.
Some costs of PRs are:
Pull requests are just one of the asynchronous peer code reviews styles. Is not the only way of doing peer reviews.
Some other types of peer reviews that I, personally, like are:
Trunk-based development allows very fast feedback loops at product level, and with the correct tools generates resilience and ownership among developers.The disclaimer here is I have worked doing pair programming, TDD and trunk-based development for more than 5 years in multiple size companies, and it has always been a bliss.