Making ServiceLoader usable: a provider factory
I keep coming back to java.util.ServiceLoader . I have used it to put a JSON layer behind a contract, so the core code carries no direct dependency on…
Tech news from the best sources
I keep coming back to java.util.ServiceLoader . I have used it to put a JSON layer behind a contract, so the core code carries no direct dependency on…
I wanted a sandbox. Not the decorative kind. Not the one where production data wears a fake name tag and hopes nobody notices. A real sandbox. One whe…
Applications often need to react when something changes. When a user signs up, you might want to: Send a welcome email Create a user profile Log the a…
C++ has a lot of double-edged swords. These features abstract the process of turning the sharp edge on yourself, so that you can destroy yourself with…
A real story from building a manuscript submission system at a scientific publishing company. We were building a system at a Publishing Company that a…
In our UI system we dont use pixel values to define spacing, we use semantic variables, (t-shirt sizes: gap-sm , p-lg , my-2xl ) - so thats like you c…
Enterprise Design Patterns in Python: Repository & Unit of Work 🐍🏗️ Series: Enterprise Application Architecture | Source: Fowler's EAA Catalog | C…
Originally published at recca0120.github.io Ask AI to add caching to your code, and it will. The result looks clean — cache logic extracted into a sep…
One of the most interesting aspects of architectural frameworks is not the rules themselves, but the ability to verify that those rules are actually b…
Last month I ran an outreach campaign. I emailed 25 people — researchers, advocates, technologists — the kind of humans who think about how AI should …
The Series This is the first article in a three-part series on migrating from a traditional Repository Pattern implementation toward Atomic Query Cons…
TestSmith generates test scaffolds for five languages: Go, Python, TypeScript, Java, and C#. Each language has its own project structure conventions, …
What is the need for Singleton Pattern ? Let's say we need to connect to DB and for every request if we keep creating a new Instance of Db connection …
How to stop rewriting CLLocationManager boilerplate in every screen — and design something your future self will actually thank you for.* If you've sh…
Most introductory articles draw it as an onion Every article about Hexagonal Architecture ends up with the same diagram: three concentric circles. Dom…
One-shot operations as first-class state, with declarative listeners. More in Github . An Action is a tiny piece of reactive state that represents a s…