<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Zhang Jansson</title>
    <link>https://zhangjansson.com/</link>
    <description>Clear, practical guides on software engineering and engineering management in the AI era: SDLC and AI-DLC, estimation, design patterns, anti-patterns, leadership and career paths.</description>
    <language>en</language>
    <lastBuildDate>Fri, 27 Nov 2026 08:00:00 GMT</lastBuildDate>
    <atom:link href="https://zhangjansson.com/rss.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Finance fundamentals: how money moves through a software company</title>
      <link>https://zhangjansson.com/articles/finance-fundamentals</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/finance-fundamentals</guid>
      <description>A plain-language starting point for leaders and founders: revenue, profit, cash and value, the three financial statements, accrual accounting, and who does what in finance.</description>
      <category>Finance for software leaders</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Your first 90 days as an engineering manager</title>
      <link>https://zhangjansson.com/articles/first-90-days-as-a-manager</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/first-90-days-as-a-manager</guid>
      <description>A practical plan for a new engineering manager: preparing before day one, the listening tour, first 1:1s, inheriting a team, managing former peers, early wins, and a 30/60/90-day plan with questions to ask.</description>
      <category>Engineering management</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>The income statement: from revenue to net income, line by line</title>
      <link>https://zhangjansson.com/articles/income-statement</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/income-statement</guid>
      <description>Read a P&amp;L like a CFO: revenue, cost of revenue, gross margin, operating expenses, EBITDA, D&amp;A, EBIT, interest, tax and net income, with a worked SaaS example and a calculator.</description>
      <category>Finance for software leaders</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>The balance sheet: what a software company owns, owes and is worth on paper</title>
      <link>https://zhangjansson.com/articles/balance-sheet</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/balance-sheet</guid>
      <description>Assets, liabilities and equity in plain language: receivables, deferred revenue, capitalized software, goodwill, debt and liquidity ratios, with a worked SaaS balance sheet.</description>
      <category>Finance for software leaders</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Feedback models: SBI, COIN, Radical Candor and how to use them</title>
      <link>https://zhangjansson.com/articles/feedback-models</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/feedback-models</guid>
      <description>How to give feedback people can act on: the SBI and SBII models, COIN, DESC, feedforward and Radical Candor, praise vs correction, timing, receiving and asking for feedback, and feedback across cultures, with a feedback builder.</description>
      <category>Engineering management</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Cash vs profit: why profitable companies run out of money</title>
      <link>https://zhangjansson.com/articles/cash-vs-profit</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/cash-vs-profit</guid>
      <description>Why cash and profit differ, how to read a cash flow statement, and how to manage working capital, burn rate and runway, with a worked SaaS example.</description>
      <category>Finance for software leaders</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Coaching and mentoring: how managers help people grow</title>
      <link>https://zhangjansson.com/articles/coaching-and-mentoring</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/coaching-and-mentoring</guid>
      <description>The difference between teaching, mentoring, coaching and sponsoring, the GROW model, powerful questions, when to tell instead of ask, and how to make coaching part of everyday management.</description>
      <category>Engineering management</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Difficult conversations: how to prepare, open and stay in dialogue</title>
      <link>https://zhangjansson.com/articles/difficult-conversations</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/difficult-conversations</guid>
      <description>A practical guide for engineering managers to the conversations everyone dreads: underperformance, conflict between colleagues, bad news, behavior issues, strong emotions and layoffs, with scripts, a preparation template and EU/Sweden notes.</description>
      <category>Engineering management</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Revenue recognition: bookings, billings and revenue explained</title>
      <link>https://zhangjansson.com/articles/revenue-recognition</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/revenue-recognition</guid>
      <description>Why a signed deal isn't revenue: bookings vs billings vs revenue, deferred revenue, RPO, and the five-step model of IFRS 15 and ASC 606 in plain language, with a worked SaaS contract.</description>
      <category>Finance for software leaders</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Career development and promotions for engineers</title>
      <link>https://zhangjansson.com/articles/career-development-and-promotions</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/career-development-and-promotions</guid>
      <description>How engineering managers help people grow: career ladders, career conversations, growth plans, stretch work, writing promotion cases, handling a promotion that doesn't happen, retention and stay interviews.</description>
      <category>Engineering management</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Unit economics: CAC, LTV and payback for software companies</title>
      <link>https://zhangjansson.com/articles/unit-economics</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/unit-economics</guid>
      <description>Is each customer worth what it costs to win? Customer acquisition cost, lifetime value, LTV:CAC, CAC payback, contribution margin and cohorts, with a worked example and a calculator.</description>
      <category>Finance for software leaders</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Interviewing well: structured interviews for software engineers</title>
      <link>https://zhangjansson.com/articles/interviewing-well</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/interviewing-well</guid>
      <description>How to design an interview loop that predicts performance and treats candidates fairly: competencies, scorecards, behavioral and technical questions, take-homes vs live coding, interviewing in the AI era, reducing bias, and running debriefs.</description>
      <category>Engineering management</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Onboarding engineers: the first day, week and 90 days</title>
      <link>https://zhangjansson.com/articles/onboarding-engineers</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/onboarding-engineers</guid>
      <description>How to onboard software engineers so they're productive and connected quickly: preparing before day one, the first day and week, buddies, a first change in production, 30/60/90-day goals, remote onboarding, and how to measure it.</description>
      <category>Engineering management</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Pricing and packaging for software companies</title>
      <link>https://zhangjansson.com/articles/pricing-and-packaging</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/pricing-and-packaging</guid>
      <description>How to price a software product: value metrics, tiers, discounts, annual vs monthly billing, price increases and usage-based pricing, and how each choice moves revenue, margin, retention and cash.</description>
      <category>Finance for software leaders</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Startup fundraising and cap tables: dilution, option pools and term sheets</title>
      <link>https://zhangjansson.com/articles/startup-fundraising-and-cap-tables</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/startup-fundraising-and-cap-tables</guid>
      <description>How startups are funded: bootstrapping vs venture capital, funding stages, SAFEs and convertible loans, pre- and post-money valuation, dilution, option pools, vesting and liquidation preferences, with a dilution calculator and Swedish notes.</description>
      <category>Finance for software leaders</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Valuation basics: what is a software company worth?</title>
      <link>https://zhangjansson.com/articles/valuation-basics</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/valuation-basics</guid>
      <description>Market cap vs enterprise value, revenue and EBITDA multiples, discounted cash flow in plain language, and why growth, retention and margins drive the price of a software company.</description>
      <category>Finance for software leaders</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Managing up and stakeholders: working with your manager, product and peers</title>
      <link>https://zhangjansson.com/articles/managing-up-and-stakeholders</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/managing-up-and-stakeholders</guid>
      <description>How engineering managers build strong relationships upward and sideways: working with your own manager, partnering with product, peers and executives, status updates, escalation, saying no, and mapping stakeholders.</description>
      <category>Engineering management</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Taxes and company setup for software founders (with Sweden and EU notes)</title>
      <link>https://zhangjansson.com/articles/taxes-and-company-setup</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/taxes-and-company-setup</guid>
      <description>The financial foundations of a software company: choosing a legal form, bookkeeping and audit, VAT on software sales, payroll and employer contributions, corporate tax, R&amp;D incentives and the compliance calendar, with 2026 figures for Sweden.</description>
      <category>Finance for software leaders</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>From one team to many: growing beyond your first team</title>
      <link>https://zhangjansson.com/articles/from-one-team-to-many</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/from-one-team-to-many</guid>
      <description>What changes when an engineering manager takes on a second and third team: when to grow, leading through tech leads, information flow, time and attention, the first manager-of-managers decision, and the mistakes that trip new multi-team leaders.</description>
      <category>Engineering management</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Leading leaders: how to manage managers</title>
      <link>https://zhangjansson.com/articles/leading-leaders</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/leading-leaders</guid>
      <description>The job of a manager of managers: hiring and developing engineering managers, delegating outcomes, running a leadership team, skip-levels, calibration across teams, handling a struggling manager, and building succession.</description>
      <category>Engineering management</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Org design and team structures for engineering organizations</title>
      <link>https://zhangjansson.com/articles/org-design-and-team-structures</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/org-design-and-team-structures</guid>
      <description>How to structure engineering teams as you grow: team size, span of control and layers, Team Topologies, Conway's law and cognitive load, splitting teams, running a reorganization well, and Sweden's MBL negotiation duty, with an org planner.</description>
      <category>Engineering management</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Running an engineering organization: the director and VP role</title>
      <link>https://zhangjansson.com/articles/running-an-engineering-org</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/running-an-engineering-org</guid>
      <description>What changes when you lead an engineering organization: the director and VP responsibilities, strategy and planning, operating cadence, budgets and headcount, communicating at scale, culture, and working with the executive team.</description>
      <category>Engineering management</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>The Software Development Lifecycle, simply explained</title>
      <link>https://zhangjansson.com/articles/sdlc-explained</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/sdlc-explained</guid>
      <description>Six phases, a handful of models, and one big idea, feedback, that every team needs to get right.</description>
      <category>AI-era lifecycle</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Software estimation fundamentals: why estimates go wrong</title>
      <link>https://zhangjansson.com/articles/software-estimation-fundamentals</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/software-estimation-fundamentals</guid>
      <description>The cone of uncertainty, the difference between estimates, targets and commitments, and the habits that make estimates useful.</description>
      <category>Software estimation</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>The SOLID principles in plain English</title>
      <link>https://zhangjansson.com/articles/solid-principles</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/solid-principles</guid>
      <description>Five principles for code that is easy to change, each explained with a short example and a warning about overuse.</description>
      <category>Best practices</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Code anti-patterns: God objects, spaghetti and golden hammers</title>
      <link>https://zhangjansson.com/articles/code-anti-patterns</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/code-anti-patterns</guid>
      <description>The most common code-level anti-patterns, how to recognize them and how to refactor your way out.</description>
      <category>Anti-patterns</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Engineering management 101: what the job really is</title>
      <link>https://zhangjansson.com/articles/engineering-management-101</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/engineering-management-101</guid>
      <description>What an engineering manager is responsible for: people, delivery, team health, technical direction and stakeholders. How the role differs from tech lead and product manager, what changes when you stop coding, and how to measure yourself.</description>
      <category>Engineering management</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Engineer or manager? How to choose your career path</title>
      <link>https://zhangjansson.com/articles/engineer-vs-manager</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/engineer-vs-manager</guid>
      <description>What each path really involves day to day, the myths around both, and questions to help you decide.</description>
      <category>Career paths</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>AI-DLC: the AI-Driven Development Lifecycle</title>
      <link>https://zhangjansson.com/articles/ai-dlc</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/ai-dlc</guid>
      <description>What AI-DLC is, how its three phases work, and how to adopt it without losing control of quality.</description>
      <category>AI-era lifecycle</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Estimation techniques compared: story points, T-shirts, PERT and more</title>
      <link>https://zhangjansson.com/articles/estimation-techniques</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/estimation-techniques</guid>
      <description>The most common estimation techniques, when to use each, and an interactive PERT calculator.</description>
      <category>Software estimation</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Clean code essentials: names, functions and simplicity</title>
      <link>https://zhangjansson.com/articles/clean-code-essentials</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/clean-code-essentials</guid>
      <description>The small daily habits that make code easy to read, review and change.</description>
      <category>Best practices</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Architecture anti-patterns: distributed monoliths and big balls of mud</title>
      <link>https://zhangjansson.com/articles/architecture-anti-patterns</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/architecture-anti-patterns</guid>
      <description>The structural mistakes that make systems slow to change and painful to run, and how to recover.</description>
      <category>Anti-patterns</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Mastering the Staff+ engineer path</title>
      <link>https://zhangjansson.com/articles/mastering-the-staff-engineer-path</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/mastering-the-staff-engineer-path</guid>
      <description>What Staff and Principal engineers really do, the four archetypes, and the skills to focus on to get there.</description>
      <category>Career paths</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>SDLC vs AI-DLC: what actually changes</title>
      <link>https://zhangjansson.com/articles/sdlc-vs-ai-dlc</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/sdlc-vs-ai-dlc</guid>
      <description>A side-by-side comparison of the traditional lifecycle and the AI-driven one, and what it means for your team.</description>
      <category>AI-era lifecycle</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Forecasting with data: Monte Carlo and #NoEstimates</title>
      <link>https://zhangjansson.com/articles/forecasting-with-data</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/forecasting-with-data</guid>
      <description>Use your team's real throughput to forecast delivery dates with probabilities, and try it yourself.</description>
      <category>Software estimation</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>A testing strategy that works: the pyramid, TDD and beyond</title>
      <link>https://zhangjansson.com/articles/testing-strategy</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/testing-strategy</guid>
      <description>How many tests of which kind, how to write tests that catch real bugs, and how AI changes testing.</description>
      <category>Best practices</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Process anti-patterns: death marches, feature factories and hero culture</title>
      <link>https://zhangjansson.com/articles/process-anti-patterns</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/process-anti-patterns</guid>
      <description>The team and process traps that quietly destroy productivity and morale, and what healthy teams do instead.</description>
      <category>Anti-patterns</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>One-on-ones that actually work</title>
      <link>https://zhangjansson.com/articles/one-on-ones</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/one-on-ones</guid>
      <description>The most important meeting a manager has: what 1:1s are for, cadence and formats, the first 1:1, question banks, career conversations, notes and follow-up, reading the signals, and the mistakes to avoid.</description>
      <category>Engineering management</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Mastering the engineering management path</title>
      <link>https://zhangjansson.com/articles/mastering-the-management-path</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/mastering-the-management-path</guid>
      <description>From first-time manager to director: the skills that matter at each level and how to keep growing.</description>
      <category>Career paths</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Secure SDL: building security into every phase</title>
      <link>https://zhangjansson.com/articles/secure-sdl</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/secure-sdl</guid>
      <description>The Security Development Lifecycle in plain language, plus the new threats that come with AI-generated code and LLM features.</description>
      <category>AI-era lifecycle</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Estimation in the AI era</title>
      <link>https://zhangjansson.com/articles/estimation-in-the-ai-era</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/estimation-in-the-ai-era</guid>
      <description>AI makes coding faster, but estimates don't shrink the way you'd expect. Here's how to adjust.</description>
      <category>Software estimation</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Code review best practices for authors and reviewers</title>
      <link>https://zhangjansson.com/articles/code-review-best-practices</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/code-review-best-practices</guid>
      <description>How to make code reviews fast, kind and genuinely useful, including reviews of AI-generated code.</description>
      <category>Best practices</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>AI anti-patterns: vibe coding, prompt-and-pray and agent sprawl</title>
      <link>https://zhangjansson.com/articles/ai-anti-patterns</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/ai-anti-patterns</guid>
      <description>The new failure modes of AI-assisted development, and the habits that prevent them.</description>
      <category>Anti-patterns</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>The engineer/manager pendulum: switching tracks</title>
      <link>https://zhangjansson.com/articles/switching-tracks</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/switching-tracks</guid>
      <description>Why moving between engineering and management can be a career superpower, and how to do it well.</description>
      <category>Career paths</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Spec-driven development with AI agents</title>
      <link>https://zhangjansson.com/articles/spec-driven-development</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/spec-driven-development</guid>
      <description>Write the spec first, let AI plan and build from it, and keep the spec as the source of truth.</description>
      <category>AI-era lifecycle</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>How to communicate estimates without losing trust</title>
      <link>https://zhangjansson.com/articles/communicating-estimates</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/communicating-estimates</guid>
      <description>Scripts and habits for talking about uncertainty with managers, stakeholders and customers.</description>
      <category>Software estimation</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>CI/CD best practices: ship small, ship often, ship safely</title>
      <link>https://zhangjansson.com/articles/ci-cd-best-practices</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/ci-cd-best-practices</guid>
      <description>How continuous integration and delivery work, the practices that make them effective, and how to measure progress.</description>
      <category>Best practices</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>How to read a quarterly report (without being an accountant)</title>
      <link>https://zhangjansson.com/articles/how-to-read-a-quarterly-report</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/how-to-read-a-quarterly-report</guid>
      <description>A 30-minute method for reading any quarterly report or board pack: headlines and guidance, the three statements, non-GAAP reconciliations, notes, red flags and the questions to ask.</description>
      <category>Finance for software leaders</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Career skills that matter in the AI era</title>
      <link>https://zhangjansson.com/articles/career-skills-for-the-ai-era</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/career-skills-for-the-ai-era</guid>
      <description>Which skills grow in value as AI writes more code, and a practical plan to build them.</description>
      <category>Career paths</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Quality gates for AI-generated code</title>
      <link>https://zhangjansson.com/articles/quality-gates-for-ai-code</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/quality-gates-for-ai-code</guid>
      <description>A practical, layered defense so that faster code generation doesn't mean more production incidents.</description>
      <category>AI-era lifecycle</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Best practices for working with AI coding assistants</title>
      <link>https://zhangjansson.com/articles/working-with-ai-coding-assistants</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/working-with-ai-coding-assistants</guid>
      <description>How to get high-quality results from AI pair programmers and agents, and stay the engineer in charge.</description>
      <category>Best practices</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Becoming a tech lead: the bridge between engineering and leadership</title>
      <link>https://zhangjansson.com/articles/becoming-a-tech-lead</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/becoming-a-tech-lead</guid>
      <description>What a tech lead does, how it differs from management, and how to succeed in your first tech lead role.</description>
      <category>Career paths</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Performance management: expectations, reviews and improvement plans</title>
      <link>https://zhangjansson.com/articles/feedback-and-performance</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/feedback-and-performance</guid>
      <description>How engineering managers manage performance fairly: clear expectations, continuous feedback, performance reviews, calibration, diagnosing underperformance, improvement plans (PIPs) done well, and the Swedish rules under LAS.</description>
      <category>Engineering management</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Opex vs capex: what software leaders need to know</title>
      <link>https://zhangjansson.com/articles/opex-vs-capex</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/opex-vs-capex</guid>
      <description>Operating vs capital expenditure, when software development can be capitalized under IFRS, US GAAP and Swedish rules, and why the choice changes EBITDA and profit but never cash.</description>
      <category>Finance for software leaders</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Hiring engineers: the recruiting process from brief to offer</title>
      <link>https://zhangjansson.com/articles/hiring-and-interviewing</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/hiring-and-interviewing</guid>
      <description>The hiring manager's guide to recruiting software engineers: defining the role, sourcing, the hiring funnel, working with recruiters, interviews, offers and closing, diversity, hiring metrics, and EU/Sweden rules on discrimination and candidate data.</description>
      <category>Engineering management</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>SaaS metrics that matter: ARR, NRR, CAC payback and the Rule of 40</title>
      <link>https://zhangjansson.com/articles/saas-metrics</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/saas-metrics</guid>
      <description>The metrics boards and investors use to judge software companies: ARR and MRR, net and gross revenue retention, churn, magic number, burn multiple and the Rule of 40, with a worked ARR bridge.</description>
      <category>Finance for software leaders</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Cost of revenue and cloud margins: the engineer's lever on profit</title>
      <link>https://zhangjansson.com/articles/cost-of-revenue-and-cloud-margins</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/cost-of-revenue-and-cloud-margins</guid>
      <description>What goes into cost of revenue for SaaS and AI products, why gross margin drives valuation, and how engineering, FinOps and pricing decisions move it, with worked examples.</description>
      <category>Finance for software leaders</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Budgeting and headcount planning for engineering leaders</title>
      <link>https://zhangjansson.com/articles/budgeting-and-headcount-planning</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/budgeting-and-headcount-planning</guid>
      <description>How budgets, forecasts and headcount plans work: the annual cycle, driver-based models, fully loaded cost, hiring timing, scenarios and variance analysis, and how to make the case for investment.</description>
      <category>Finance for software leaders</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Building high-performing teams: safety, clarity and rituals that work</title>
      <link>https://zhangjansson.com/articles/building-high-performing-teams</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/building-high-performing-teams</guid>
      <description>What makes engineering teams effective: psychological safety, clear purpose and ownership, team charters and working agreements, rituals that earn their time, health checks, healthy conflict, and what to do when a team is struggling.</description>
      <category>Engineering management</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Delegation and decision-making for engineering leaders</title>
      <link>https://zhangjansson.com/articles/delegation-and-decisions</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/delegation-and-decisions</guid>
      <description>How to delegate outcomes rather than tasks, the seven levels of delegation, RACI and DACI, one-way and two-way door decisions, decision records, disagree and commit, and how to make decisions faster as a team grows.</description>
      <category>Engineering management</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Engineering metrics that matter: DORA, SPACE and what to avoid</title>
      <link>https://zhangjansson.com/articles/metrics-that-matter</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/metrics-that-matter</guid>
      <description>How to measure an engineering team without breaking it: DORA delivery metrics, the SPACE framework, flow metrics, developer experience, metrics in the AI era, team vs individual metrics, and how to introduce them so they help rather than get gamed.</description>
      <category>Engineering management</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Managing AI-augmented engineering teams</title>
      <link>https://zhangjansson.com/articles/managing-ai-augmented-teams</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/managing-ai-augmented-teams</guid>
      <description>How engineering management changes when engineers work with AI assistants and agents: expectations, review capacity, context and guardrails, skills and growth for juniors and seniors, measuring impact, hiring, and keeping the pace sustainable.</description>
      <category>Engineering management</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Running a software company: the finance checklist</title>
      <link>https://zhangjansson.com/articles/running-a-software-company-finance-checklist</link>
      <guid isPermaLink="true">https://zhangjansson.com/articles/running-a-software-company-finance-checklist</guid>
      <description>Everything from the finance series in one operating routine: the weekly, monthly, quarterly and yearly finance rhythm, a KPI dashboard, the board pack, controls, and a checklist by company stage.</description>
      <category>Finance for software leaders</category>
      <pubDate>Sun, 22 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Abstract Factory pattern</title>
      <link>https://zhangjansson.com/patterns/gof/abstract-factory</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/gof/abstract-factory</guid>
      <description>Create whole families of related objects through one interface, so code never mixes parts from different families.</description>
      <category>Design patterns (GoF)</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Builder pattern</title>
      <link>https://zhangjansson.com/patterns/gof/builder</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/gof/builder</guid>
      <description>Assemble a complex object step by step with readable calls, check the rules once at the end, and get back a finished, valid object.</description>
      <category>Design patterns (GoF)</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Factory Method pattern</title>
      <link>https://zhangjansson.com/patterns/gof/factory-method</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/gof/factory-method</guid>
      <description>Let a base class run a workflow but leave one step, creating an object, to subclasses that decide which class it is.</description>
      <category>Design patterns (GoF)</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Prototype pattern</title>
      <link>https://zhangjansson.com/patterns/gof/prototype</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/gof/prototype</guid>
      <description>Create new objects by copying a configured example, instead of building each one from scratch.</description>
      <category>Design patterns (GoF)</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Singleton pattern</title>
      <link>https://zhangjansson.com/patterns/gof/singleton</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/gof/singleton</guid>
      <description>Make sure a class has exactly one instance and give the whole program one way to reach it. Useful, and the most overused pattern.</description>
      <category>Design patterns (GoF)</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Adapter pattern</title>
      <link>https://zhangjansson.com/patterns/gof/adapter</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/gof/adapter</guid>
      <description>Wrap an existing class whose interface doesn't fit, so it works with code that expects a different interface.</description>
      <category>Design patterns (GoF)</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Bridge pattern</title>
      <link>https://zhangjansson.com/patterns/gof/bridge</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/gof/bridge</guid>
      <description>Split something that varies in two ways into two separate class hierarchies, joined by a reference, so each side can grow on its own.</description>
      <category>Design patterns (GoF)</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Composite pattern</title>
      <link>https://zhangjansson.com/patterns/gof/composite</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/gof/composite</guid>
      <description>Build tree structures where single items and groups share one interface, so code can treat a whole group exactly like one item.</description>
      <category>Design patterns (GoF)</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Decorator pattern</title>
      <link>https://zhangjansson.com/patterns/gof/decorator</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/gof/decorator</guid>
      <description>Wrap an object in another object with the same interface to add behaviour, such as caching, logging or retries, without changing the original.</description>
      <category>Design patterns (GoF)</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Facade pattern</title>
      <link>https://zhangjansson.com/patterns/gof/facade</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/gof/facade</guid>
      <description>Give a complicated subsystem one simple front door, so most callers can use it without knowing how its parts fit together.</description>
      <category>Design patterns (GoF)</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Flyweight pattern</title>
      <link>https://zhangjansson.com/patterns/gof/flyweight</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/gof/flyweight</guid>
      <description>Share the common, unchanging part of many similar objects instead of copying it into each one, to save memory at scale.</description>
      <category>Design patterns (GoF)</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Proxy pattern</title>
      <link>https://zhangjansson.com/patterns/gof/proxy</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/gof/proxy</guid>
      <description>Put a stand-in with the same interface in front of an object to control access to it: check permissions, create it lazily, or reach it remotely.</description>
      <category>Design patterns (GoF)</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Chain of Responsibility pattern</title>
      <link>https://zhangjansson.com/patterns/gof/chain-of-responsibility</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/gof/chain-of-responsibility</guid>
      <description>Pass a request along a chain of handlers; each one either handles it or hands it to the next, so the sender doesn't need to know who deals with it.</description>
      <category>Design patterns (GoF)</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Command pattern</title>
      <link>https://zhangjansson.com/patterns/gof/command</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/gof/command</guid>
      <description>Turn a request into an object with everything needed to run it, so you can queue it, log it, retry it or undo it.</description>
      <category>Design patterns (GoF)</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Interpreter pattern</title>
      <link>https://zhangjansson.com/patterns/gof/interpreter</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/gof/interpreter</guid>
      <description>Represent each rule of a small language as a class, build sentences as trees of those objects, and evaluate the tree to get an answer.</description>
      <category>Design patterns (GoF)</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Iterator pattern</title>
      <link>https://zhangjansson.com/patterns/gof/iterator</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/gof/iterator</guid>
      <description>Walk through the items of a collection one at a time without exposing how the collection is stored, whether it's an array, a tree or a paginated API.</description>
      <category>Design patterns (GoF)</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Mediator pattern</title>
      <link>https://zhangjansson.com/patterns/gof/mediator</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/gof/mediator</guid>
      <description>Make objects talk through one coordinator instead of directly to each other, so the rules about who affects whom live in one place.</description>
      <category>Design patterns (GoF)</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Memento pattern</title>
      <link>https://zhangjansson.com/patterns/gof/memento</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/gof/memento</guid>
      <description>Capture an object's state in a snapshot so you can restore it later, without exposing the object's internals to whoever keeps the snapshots.</description>
      <category>Design patterns (GoF)</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Observer pattern</title>
      <link>https://zhangjansson.com/patterns/gof/observer</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/gof/observer</guid>
      <description>Let objects subscribe to another object's changes, so it can notify all of them without knowing who they are.</description>
      <category>Design patterns (GoF)</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>State pattern</title>
      <link>https://zhangjansson.com/patterns/gof/state</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/gof/state</guid>
      <description>Let an object change its behaviour when its internal state changes, with one class per state instead of status checks in every method.</description>
      <category>Design patterns (GoF)</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Strategy pattern</title>
      <link>https://zhangjansson.com/patterns/gof/strategy</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/gof/strategy</guid>
      <description>Put each variant of an algorithm in its own class behind one interface, so callers can swap behaviour without changing their code.</description>
      <category>Design patterns (GoF)</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Template Method pattern</title>
      <link>https://zhangjansson.com/patterns/gof/template-method</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/gof/template-method</guid>
      <description>Write the skeleton of an algorithm once in a base class, and let subclasses fill in only the steps that differ.</description>
      <category>Design patterns (GoF)</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Visitor pattern</title>
      <link>https://zhangjansson.com/patterns/gof/visitor</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/gof/visitor</guid>
      <description>Add new operations to a fixed set of classes without changing them, by putting each operation in its own visitor object.</description>
      <category>Design patterns (GoF)</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Bulkhead pattern</title>
      <link>https://zhangjansson.com/patterns/cloud/bulkhead</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/cloud/bulkhead</guid>
      <description>Give each dependency or workload its own limited pool of resources, so one slow part can't use up everything and sink the whole service.</description>
      <category>Cloud patterns</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Circuit Breaker pattern</title>
      <link>https://zhangjansson.com/patterns/cloud/circuit-breaker</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/cloud/circuit-breaker</guid>
      <description>Stop calling a dependency that keeps failing, fail fast with a fallback, and probe now and then to see if it has recovered.</description>
      <category>Cloud patterns</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Health Endpoint Monitoring pattern</title>
      <link>https://zhangjansson.com/patterns/cloud/health-endpoint-monitoring</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/cloud/health-endpoint-monitoring</guid>
      <description>Expose an endpoint that reports whether an instance can do its job, so load balancers, orchestrators and monitors can route around problems.</description>
      <category>Cloud patterns</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Retry with backoff pattern</title>
      <link>https://zhangjansson.com/patterns/cloud/retry</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/cloud/retry</guid>
      <description>Automatically try a failed call again after a growing, randomised delay, because many cloud failures are brief and fix themselves.</description>
      <category>Cloud patterns</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Throttling pattern</title>
      <link>https://zhangjansson.com/patterns/cloud/throttling</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/cloud/throttling</guid>
      <description>Cap how many requests each client can make in a time window, and reject the excess politely, to protect your service and keep it fair.</description>
      <category>Cloud patterns</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Anti-Corruption Layer pattern</title>
      <link>https://zhangjansson.com/patterns/cloud/anti-corruption-layer</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/cloud/anti-corruption-layer</guid>
      <description>Put a translation layer between a new system and a legacy or external one, so the old system's model and quirks don't leak into the new design.</description>
      <category>Cloud patterns</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Competing Consumers pattern</title>
      <link>https://zhangjansson.com/patterns/cloud/competing-consumers</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/cloud/competing-consumers</guid>
      <description>Let several identical workers read from the same queue, each message going to exactly one of them, so processing scales out simply by adding workers.</description>
      <category>Cloud patterns</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Publisher–Subscriber pattern</title>
      <link>https://zhangjansson.com/patterns/cloud/publisher-subscriber</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/cloud/publisher-subscriber</guid>
      <description>Publish an event once to a topic and let any number of independent services subscribe to it, without the publisher knowing who they are.</description>
      <category>Cloud patterns</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Queue-Based Load Leveling pattern</title>
      <link>https://zhangjansson.com/patterns/cloud/queue-based-load-leveling</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/cloud/queue-based-load-leveling</guid>
      <description>Put a queue between a spiky source of work and the service that does it, so bursts are absorbed and processed at a steady, safe rate.</description>
      <category>Cloud patterns</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Saga pattern</title>
      <link>https://zhangjansson.com/patterns/cloud/saga</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/cloud/saga</guid>
      <description>Run a business transaction across several services as a series of local steps, each with a compensating action that undoes it if a later step fails.</description>
      <category>Cloud patterns</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Transactional Outbox pattern</title>
      <link>https://zhangjansson.com/patterns/cloud/transactional-outbox</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/cloud/transactional-outbox</guid>
      <description>Save a change and the event announcing it in the same database transaction, then publish the event separately, so you never lose or invent events.</description>
      <category>Cloud patterns</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Cache-Aside pattern</title>
      <link>https://zhangjansson.com/patterns/cloud/cache-aside</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/cloud/cache-aside</guid>
      <description>Check a fast cache first, load from the database only on a miss, and store the result in the cache for next time.</description>
      <category>Cloud patterns</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>CQRS pattern</title>
      <link>https://zhangjansson.com/patterns/cloud/cqrs</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/cloud/cqrs</guid>
      <description>Use one model to change data and a separate, read-optimised model to query it, so each side can be designed and scaled for its own job.</description>
      <category>Cloud patterns</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Event Sourcing pattern</title>
      <link>https://zhangjansson.com/patterns/cloud/event-sourcing</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/cloud/event-sourcing</guid>
      <description>Store every change as an immutable event in an append-only log, and derive the current state by replaying them, instead of overwriting rows.</description>
      <category>Cloud patterns</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Materialized View pattern</title>
      <link>https://zhangjansson.com/patterns/cloud/materialized-view</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/cloud/materialized-view</guid>
      <description>Precompute the data a screen or report needs into a ready-made table, and keep it updated, instead of joining and aggregating on every request.</description>
      <category>Cloud patterns</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Sharding pattern</title>
      <link>https://zhangjansson.com/patterns/cloud/sharding</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/cloud/sharding</guid>
      <description>Split one big data set across several databases by a key, such as customer or region, so data and load can grow beyond what one server can handle.</description>
      <category>Cloud patterns</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Ambassador pattern</title>
      <link>https://zhangjansson.com/patterns/cloud/ambassador</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/cloud/ambassador</guid>
      <description>Put a local helper between an app and the remote services it calls, to handle retries, timeouts, routing and credentials on the app's behalf.</description>
      <category>Cloud patterns</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>API Gateway pattern</title>
      <link>https://zhangjansson.com/patterns/cloud/api-gateway</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/cloud/api-gateway</guid>
      <description>Give clients one entry point that routes requests to the right backend service and handles shared concerns like authentication and rate limits.</description>
      <category>Cloud patterns</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Backends for Frontends pattern</title>
      <link>https://zhangjansson.com/patterns/cloud/backends-for-frontends</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/cloud/backends-for-frontends</guid>
      <description>Give each kind of client, such as web, mobile or partners, its own thin backend that shapes data exactly for that client.</description>
      <category>Cloud patterns</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Leader Election pattern</title>
      <link>https://zhangjansson.com/patterns/cloud/leader-election</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/cloud/leader-election</guid>
      <description>Let a group of identical instances pick one leader to do work that must happen exactly once, and automatically pick a new one if it fails.</description>
      <category>Cloud patterns</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Sidecar pattern</title>
      <link>https://zhangjansson.com/patterns/cloud/sidecar</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/cloud/sidecar</guid>
      <description>Run supporting features such as proxying, logging or config sync in a separate container next to the app, sharing its lifecycle but not its code.</description>
      <category>Cloud patterns</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Static Content Hosting pattern</title>
      <link>https://zhangjansson.com/patterns/cloud/static-content-hosting</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/cloud/static-content-hosting</guid>
      <description>Serve files that are the same for everyone, such as scripts, styles, images and prerendered pages, from object storage behind a CDN instead of from app servers.</description>
      <category>Cloud patterns</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Strangler Fig pattern</title>
      <link>https://zhangjansson.com/patterns/cloud/strangler-fig</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/cloud/strangler-fig</guid>
      <description>Replace a legacy system piece by piece behind a routing layer, sending more features to the new system over time until the old one can be switched off.</description>
      <category>Cloud patterns</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Valet Key pattern</title>
      <link>https://zhangjansson.com/patterns/cloud/valet-key</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/cloud/valet-key</guid>
      <description>Hand clients a short-lived, narrowly scoped token so they can upload or download files directly from storage, without streaming through your servers.</description>
      <category>Cloud patterns</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Event-Driven Architecture pattern</title>
      <link>https://zhangjansson.com/patterns/architecture/event-driven-architecture</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/architecture/event-driven-architecture</guid>
      <description>Structure a system around events: components announce what happened, and other components react, instead of calling each other directly.</description>
      <category>Architecture &amp; AI patterns</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Hexagonal Architecture pattern</title>
      <link>https://zhangjansson.com/patterns/architecture/hexagonal</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/architecture/hexagonal</guid>
      <description>Put the business logic at the centre with no dependencies on frameworks or databases; everything else plugs in through ports and adapters.</description>
      <category>Architecture &amp; AI patterns</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Layered Architecture pattern</title>
      <link>https://zhangjansson.com/patterns/architecture/layered</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/architecture/layered</guid>
      <description>Organise an application into horizontal layers (presentation, business logic, data access) where each layer only talks to the one below it.</description>
      <category>Architecture &amp; AI patterns</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Microservices pattern</title>
      <link>https://zhangjansson.com/patterns/architecture/microservices</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/architecture/microservices</guid>
      <description>Build a system as small, independently deployable services, each owning one business capability and its own data, run by one team.</description>
      <category>Architecture &amp; AI patterns</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Modular Monolith pattern</title>
      <link>https://zhangjansson.com/patterns/architecture/modular-monolith</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/architecture/modular-monolith</guid>
      <description>One deployable application split internally into modules by business capability, each with its own code, data and public interface.</description>
      <category>Architecture &amp; AI patterns</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>AI Agent pattern</title>
      <link>https://zhangjansson.com/patterns/architecture/agent</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/architecture/agent</guid>
      <description>Let a language model work in a loop: decide the next action, call a tool, look at the result, and repeat until the goal is reached.</description>
      <category>Architecture &amp; AI patterns</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Evaluator–Optimizer pattern</title>
      <link>https://zhangjansson.com/patterns/architecture/evaluator-optimizer</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/architecture/evaluator-optimizer</guid>
      <description>One model call produces a draft, another evaluates it against clear criteria, and the draft is revised until it passes or a limit is reached.</description>
      <category>Architecture &amp; AI patterns</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Guardrails pattern</title>
      <link>https://zhangjansson.com/patterns/architecture/guardrails</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/architecture/guardrails</guid>
      <description>Check what goes into and comes out of a language model with separate, independent rules, so unsafe input and bad output are stopped before they cause harm.</description>
      <category>Architecture &amp; AI patterns</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Prompt Chaining pattern</title>
      <link>https://zhangjansson.com/patterns/architecture/prompt-chaining</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/architecture/prompt-chaining</guid>
      <description>Break a task into fixed steps, each a focused model call whose output feeds the next, with ordinary code checking results in between.</description>
      <category>Architecture &amp; AI patterns</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Retrieval-Augmented Generation pattern</title>
      <link>https://zhangjansson.com/patterns/architecture/retrieval-augmented-generation</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/architecture/retrieval-augmented-generation</guid>
      <description>Before asking a language model to answer, look up the most relevant passages from your own documents and give them to the model as context.</description>
      <category>Architecture &amp; AI patterns</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Dynamic array pattern</title>
      <link>https://zhangjansson.com/patterns/data-structures/dynamic-array</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/data-structures/dynamic-array</guid>
      <description>Values stored side by side in one block of memory that grows by doubling: O(1) access by index and amortized O(1) appends.</description>
      <category>Data structures</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Linked list pattern</title>
      <link>https://zhangjansson.com/patterns/data-structures/linked-list</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/data-structures/linked-list</guid>
      <description>A chain of nodes where each holds a value and a pointer to the next: O(1) inserts and removals at known positions, O(n) to find anything.</description>
      <category>Data structures</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Queue &amp; deque pattern</title>
      <link>https://zhangjansson.com/patterns/data-structures/queue-and-deque</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/data-structures/queue-and-deque</guid>
      <description>A queue adds at the back and removes from the front, first in, first out; a deque does both at either end. All in O(1).</description>
      <category>Data structures</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Ring buffer pattern</title>
      <link>https://zhangjansson.com/patterns/data-structures/ring-buffer</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/data-structures/ring-buffer</guid>
      <description>A fixed-size array whose read and write positions wrap around the end, giving an O(1) queue with no allocation: ideal for streams, logs and recent history.</description>
      <category>Data structures</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Stack pattern</title>
      <link>https://zhangjansson.com/patterns/data-structures/stack</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/data-structures/stack</guid>
      <description>A last-in, first-out collection: push onto the top, pop from the top, both O(1). Behind function calls, undo, parsing and depth-first search.</description>
      <category>Data structures</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Bloom filter pattern</title>
      <link>https://zhangjansson.com/patterns/data-structures/bloom-filter</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/data-structures/bloom-filter</guid>
      <description>A compact bit array that answers &quot;definitely not present&quot; or &quot;probably present&quot; using several hash functions: tiny memory, no false negatives.</description>
      <category>Data structures</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Hash table pattern</title>
      <link>https://zhangjansson.com/patterns/data-structures/hash-table</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/data-structures/hash-table</guid>
      <description>Store key–value pairs in an array of buckets chosen by a hash of the key, so lookups, inserts and deletes take constant time on average.</description>
      <category>Data structures</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>LRU cache pattern</title>
      <link>https://zhangjansson.com/patterns/data-structures/lru-cache</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/data-structures/lru-cache</guid>
      <description>A fixed-size cache that evicts the least recently used item, built from a hash table plus a doubly linked list so every operation is O(1).</description>
      <category>Data structures</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Balanced search trees pattern</title>
      <link>https://zhangjansson.com/patterns/data-structures/balanced-search-trees</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/data-structures/balanced-search-trees</guid>
      <description>Binary search trees that rebalance themselves with rotations, guaranteeing O(log n) search, insert and delete whatever order keys arrive in.</description>
      <category>Data structures</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Binary heap pattern</title>
      <link>https://zhangjansson.com/patterns/data-structures/binary-heap</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/data-structures/binary-heap</guid>
      <description>A complete binary tree stored in an array where every parent is smaller than its children, giving the minimum in O(1) and inserts and removals in O(log n).</description>
      <category>Data structures</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Binary search tree pattern</title>
      <link>https://zhangjansson.com/patterns/data-structures/binary-search-tree</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/data-structures/binary-search-tree</guid>
      <description>A binary tree where every left subtree holds smaller keys and every right subtree larger ones: O(log n) search, insert and ordered traversal when balanced.</description>
      <category>Data structures</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Trie pattern</title>
      <link>https://zhangjansson.com/patterns/data-structures/trie</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/data-structures/trie</guid>
      <description>A tree of characters where each path from the root spells a key, so prefix searches like autocomplete take time proportional to the prefix, not the dataset.</description>
      <category>Data structures</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Graph pattern</title>
      <link>https://zhangjansson.com/patterns/data-structures/graph</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/data-structures/graph</guid>
      <description>A set of vertices connected by edges, stored as an adjacency list or matrix: the structure behind maps, networks, dependencies and recommendations.</description>
      <category>Data structures</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Union-find pattern</title>
      <link>https://zhangjansson.com/patterns/data-structures/union-find</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/data-structures/union-find</guid>
      <description>Track which items belong to the same group as groups merge: near-constant-time union and find with path compression and union by rank.</description>
      <category>Data structures</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Binary search pattern</title>
      <link>https://zhangjansson.com/patterns/algorithms/binary-search</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/algorithms/binary-search</guid>
      <description>Find a value in a sorted array by repeatedly halving the range that could contain it: at most about 20 comparisons for a million items.</description>
      <category>Algorithms</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Sliding window pattern</title>
      <link>https://zhangjansson.com/patterns/algorithms/sliding-window</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/algorithms/sliding-window</guid>
      <description>Keep a contiguous range that grows on the right and shrinks on the left, updating a running result as it moves, to solve substring and subarray problems in O(n).</description>
      <category>Algorithms</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Two pointers pattern</title>
      <link>https://zhangjansson.com/patterns/algorithms/two-pointers</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/algorithms/two-pointers</guid>
      <description>Walk two indexes through an array, often from both ends towards the middle, to solve pair and partition problems in one O(n) pass instead of O(n²).</description>
      <category>Algorithms</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Breadth-first search pattern</title>
      <link>https://zhangjansson.com/patterns/algorithms/breadth-first-search</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/algorithms/breadth-first-search</guid>
      <description>Explore a graph level by level from a start vertex using a queue, finding the shortest path in number of edges to everything reachable.</description>
      <category>Algorithms</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Depth-first search pattern</title>
      <link>https://zhangjansson.com/patterns/algorithms/depth-first-search</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/algorithms/depth-first-search</guid>
      <description>Explore a graph by going as deep as possible along each path before backtracking: the basis of cycle detection, topological sort and maze solving.</description>
      <category>Algorithms</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Dijkstra's shortest path pattern</title>
      <link>https://zhangjansson.com/patterns/algorithms/dijkstras-shortest-path</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/algorithms/dijkstras-shortest-path</guid>
      <description>Find the cheapest path from one vertex to all others in a graph with non-negative edge weights, by always settling the closest unfinished vertex next.</description>
      <category>Algorithms</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Minimum spanning tree pattern</title>
      <link>https://zhangjansson.com/patterns/algorithms/minimum-spanning-tree</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/algorithms/minimum-spanning-tree</guid>
      <description>Connect every vertex of a weighted graph using the cheapest possible set of edges, with no cycles: Kruskal's and Prim's greedy algorithms.</description>
      <category>Algorithms</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Topological sort pattern</title>
      <link>https://zhangjansson.com/patterns/algorithms/topological-sort</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/algorithms/topological-sort</guid>
      <description>Order the vertices of a directed acyclic graph so every edge points forward: the order to run tasks, build packages or apply migrations so dependencies come first.</description>
      <category>Algorithms</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Divide and conquer pattern</title>
      <link>https://zhangjansson.com/patterns/algorithms/divide-and-conquer</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/algorithms/divide-and-conquer</guid>
      <description>Split a problem into independent smaller parts, solve each recursively, and combine the answers: the idea behind merge sort, quicksort and binary search.</description>
      <category>Algorithms</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Dynamic programming pattern</title>
      <link>https://zhangjansson.com/patterns/algorithms/dynamic-programming</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/algorithms/dynamic-programming</guid>
      <description>Solve problems with overlapping subproblems by computing each one once and reusing the answer, often by filling a table: edit distance, knapsack, routing.</description>
      <category>Algorithms</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Greedy algorithms pattern</title>
      <link>https://zhangjansson.com/patterns/algorithms/greedy-algorithms</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/algorithms/greedy-algorithms</guid>
      <description>Build a solution by always taking the choice that looks best right now, never reconsidering: fast and simple, and optimal only for problems with the right structure.</description>
      <category>Algorithms</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Recursion &amp; backtracking pattern</title>
      <link>https://zhangjansson.com/patterns/algorithms/recursion-and-backtracking</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/algorithms/recursion-and-backtracking</guid>
      <description>Solve a problem by solving smaller versions of itself; backtracking builds solutions one choice at a time and undoes choices that lead to dead ends.</description>
      <category>Algorithms</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Bubble sort pattern</title>
      <link>https://zhangjansson.com/patterns/sorting/bubble-sort</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/sorting/bubble-sort</guid>
      <description>Repeatedly swap adjacent values that are out of order until a full pass makes no swaps: simple to understand, O(n²), and almost never the right choice.</description>
      <category>Sorting algorithms</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Insertion sort pattern</title>
      <link>https://zhangjansson.com/patterns/sorting/insertion-sort</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/sorting/insertion-sort</guid>
      <description>Take each value and slide it left into its place among the already-sorted values: O(n²) in general, but very fast on small or nearly sorted arrays.</description>
      <category>Sorting algorithms</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Selection sort pattern</title>
      <link>https://zhangjansson.com/patterns/sorting/selection-sort</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/sorting/selection-sort</guid>
      <description>Find the smallest remaining value and swap it into place, one position at a time: always O(n²) comparisons, but at most n − 1 swaps.</description>
      <category>Sorting algorithms</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Heapsort pattern</title>
      <link>https://zhangjansson.com/patterns/sorting/heapsort</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/sorting/heapsort</guid>
      <description>Turn the array into a max-heap, then repeatedly move the largest value to the end: guaranteed O(n log n) with O(1) extra memory, but not stable.</description>
      <category>Sorting algorithms</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Merge sort pattern</title>
      <link>https://zhangjansson.com/patterns/sorting/merge-sort</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/sorting/merge-sort</guid>
      <description>Split the array in half, sort each half, then merge them: a guaranteed O(n log n), stable sort, and the basis for sorting data too big for memory.</description>
      <category>Sorting algorithms</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Quicksort pattern</title>
      <link>https://zhangjansson.com/patterns/sorting/quicksort</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/sorting/quicksort</guid>
      <description>Pick a pivot, partition the array into smaller and larger values around it, then sort each side the same way: O(n log n) on average, in place.</description>
      <category>Sorting algorithms</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Counting sort pattern</title>
      <link>https://zhangjansson.com/patterns/sorting/counting-sort</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/sorting/counting-sort</guid>
      <description>Count how many times each key value occurs, then write the values back in order: O(n + k) time for small integer keys, with no comparisons at all.</description>
      <category>Sorting algorithms</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Radix sort pattern</title>
      <link>https://zhangjansson.com/patterns/sorting/radix-sort</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/sorting/radix-sort</guid>
      <description>Sort integers digit by digit, from least to most significant, using a stable counting sort on each digit: O(d · n) for d-digit keys.</description>
      <category>Sorting algorithms</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Timsort pattern</title>
      <link>https://zhangjansson.com/patterns/sorting/timsort</link>
      <guid isPermaLink="true">https://zhangjansson.com/patterns/sorting/timsort</guid>
      <description>The merge sort and insertion sort hybrid behind Python, Java and V8's built-in sorts: stable, O(n log n), and very fast on partly ordered data.</description>
      <category>Sorting algorithms</category>
      <pubDate>Fri, 27 Nov 2026 08:00:00 GMT</pubDate>
    </item>
  </channel>
</rss>
