browse/
3 results
software-design/the-observer-pattern-how-a-shop-tells-many-functions-about-one-order-w.md
The observer pattern: how a shop tells many functions about one order without knowing them
A shop that must email a receipt, update stock and add loyalty points ends up with one function that knows about everything. Every new…
web/event-bubbling-why-clicking-a-button-also-clicks-its-parent.md
Event bubbling: why clicking a button also clicks its parent
You click a button inside a div, and both click handlers run. Why does the parent hear about something that happened to its child? Every…
infrastructure/what-is-ci-the-robot-that-tests-your-code-every-time-you-push.md
What is CI? The robot that tests your code every time you push
You change one line, it looks fine, and two days later something far away breaks. Continuous integration (CI) is a robot that prevents…