All topics

Every guide, grouped by topic. Short enough to read on a coffee break.

AI-era lifecycle

Open topic

The Software Development Lifecycle, simply explained

Six phases, a handful of models, and one big idea, feedback, that every team needs to get right.

AI-DLC: the AI-Driven Development Lifecycle

What AI-DLC is, how its three phases work, and how to adopt it without losing control of quality.

SDLC vs AI-DLC: what actually changes

A side-by-side comparison of the traditional lifecycle and the AI-driven one, and what it means for your team.

Secure SDL: building security into every phase

The Security Development Lifecycle in plain language, plus the new threats that come with AI-generated code and LLM features.

Spec-driven development with AI agents

Write the spec first, let AI plan and build from it, and keep the spec as the source of truth.

Quality gates for AI-generated code

A practical, layered defense so that faster code generation doesn't mean more production incidents.

Engineering essentials

The core craft: estimating honestly, designing with patterns, everyday best practices, and the anti-patterns to avoid.

Open group

Software estimation

Go to Software estimation

Software estimation fundamentals: why estimates go wrong

The cone of uncertainty, the difference between estimates, targets and commitments, and the habits that make estimates useful.

Estimation techniques compared: story points, T-shirts, PERT and more

The most common estimation techniques, when to use each, and an interactive PERT calculator.

Forecasting with data: Monte Carlo and #NoEstimates

Use your team's real throughput to forecast delivery dates with probabilities, and try it yourself.

Estimation in the AI era

AI makes coding faster, but estimates don't shrink the way you'd expect. Here's how to adjust.

How to communicate estimates without losing trust

Scripts and habits for talking about uncertainty with managers, stakeholders and customers.

Design patterns (GoF)

Open the catalog

Abstract Factory

Create whole families of related objects through one interface, so code never mixes parts from different families.

Builder

Assemble a complex object step by step with readable calls, check the rules once at the end, and get back a finished, valid object.

Factory Method

Let a base class run a workflow but leave one step, creating an object, to subclasses that decide which class it is.

Prototype

Create new objects by copying a configured example, instead of building each one from scratch.

Singleton

Make sure a class has exactly one instance and give the whole program one way to reach it. Useful, and the most overused pattern.

Adapter

Wrap an existing class whose interface doesn't fit, so it works with code that expects a different interface.

Bridge

Split something that varies in two ways into two separate class hierarchies, joined by a reference, so each side can grow on its own.

Composite

Build tree structures where single items and groups share one interface, so code can treat a whole group exactly like one item.

Decorator

Wrap an object in another object with the same interface to add behaviour, such as caching, logging or retries, without changing the original.

Facade

Give a complicated subsystem one simple front door, so most callers can use it without knowing how its parts fit together.

Flyweight

Share the common, unchanging part of many similar objects instead of copying it into each one, to save memory at scale.

Proxy

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.

Chain of Responsibility

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.

Command

Turn a request into an object with everything needed to run it, so you can queue it, log it, retry it or undo it.

Interpreter

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.

Iterator

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.

Mediator

Make objects talk through one coordinator instead of directly to each other, so the rules about who affects whom live in one place.

Memento

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.

Observer

Let objects subscribe to another object's changes, so it can notify all of them without knowing who they are.

State

Let an object change its behaviour when its internal state changes, with one class per state instead of status checks in every method.

Strategy

Put each variant of an algorithm in its own class behind one interface, so callers can swap behaviour without changing their code.

Template Method

Write the skeleton of an algorithm once in a base class, and let subclasses fill in only the steps that differ.

Visitor

Add new operations to a fixed set of classes without changing them, by putting each operation in its own visitor object.

Cloud patterns

Open the catalog

Bulkhead

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.

Circuit Breaker

Stop calling a dependency that keeps failing, fail fast with a fallback, and probe now and then to see if it has recovered.

Health Endpoint Monitoring

Expose an endpoint that reports whether an instance can do its job, so load balancers, orchestrators and monitors can route around problems.

Retry with backoff

Automatically try a failed call again after a growing, randomised delay, because many cloud failures are brief and fix themselves.

Throttling

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.

Anti-Corruption Layer

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.

Competing Consumers

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.

Publisher–Subscriber

Publish an event once to a topic and let any number of independent services subscribe to it, without the publisher knowing who they are.

Queue-Based Load Leveling

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.

Saga

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.

Transactional Outbox

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.

Cache-Aside

Check a fast cache first, load from the database only on a miss, and store the result in the cache for next time.

CQRS

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.

Event Sourcing

Store every change as an immutable event in an append-only log, and derive the current state by replaying them, instead of overwriting rows.

Materialized View

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.

Sharding

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.

Ambassador

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.

API Gateway

Give clients one entry point that routes requests to the right backend service and handles shared concerns like authentication and rate limits.

Backends for Frontends

Give each kind of client, such as web, mobile or partners, its own thin backend that shapes data exactly for that client.

Leader Election

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.

Sidecar

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.

Static Content Hosting

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.

Strangler Fig

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.

Valet Key

Hand clients a short-lived, narrowly scoped token so they can upload or download files directly from storage, without streaming through your servers.

Architecture & AI patterns

Open the catalog

Event-Driven Architecture

Structure a system around events: components announce what happened, and other components react, instead of calling each other directly.

Hexagonal Architecture

Put the business logic at the centre with no dependencies on frameworks or databases; everything else plugs in through ports and adapters.

Layered Architecture

Organise an application into horizontal layers (presentation, business logic, data access) where each layer only talks to the one below it.

Microservices

Build a system as small, independently deployable services, each owning one business capability and its own data, run by one team.

Modular Monolith

One deployable application split internally into modules by business capability, each with its own code, data and public interface.

AI Agent

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.

Evaluator–Optimizer

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.

Guardrails

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.

Prompt Chaining

Break a task into fixed steps, each a focused model call whose output feeds the next, with ordinary code checking results in between.

Retrieval-Augmented Generation

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.

Data structures

Open the catalog

Dynamic array

Values stored side by side in one block of memory that grows by doubling: O(1) access by index and amortized O(1) appends.

Linked list

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.

Queue & deque

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).

Ring buffer

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.

Stack

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.

Bloom filter

A compact bit array that answers "definitely not present" or "probably present" using several hash functions: tiny memory, no false negatives.

Hash table

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.

LRU cache

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).

Balanced search trees

Binary search trees that rebalance themselves with rotations, guaranteeing O(log n) search, insert and delete whatever order keys arrive in.

Binary heap

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).

Binary search tree

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.

Trie

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.

Graph

A set of vertices connected by edges, stored as an adjacency list or matrix: the structure behind maps, networks, dependencies and recommendations.

Union-find

Track which items belong to the same group as groups merge: near-constant-time union and find with path compression and union by rank.

Binary search

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.

Sliding window

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).

Two pointers

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²).

Breadth-first search

Explore a graph level by level from a start vertex using a queue, finding the shortest path in number of edges to everything reachable.

Depth-first search

Explore a graph by going as deep as possible along each path before backtracking: the basis of cycle detection, topological sort and maze solving.

Dijkstra's shortest path

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.

Minimum spanning tree

Connect every vertex of a weighted graph using the cheapest possible set of edges, with no cycles: Kruskal's and Prim's greedy algorithms.

Topological sort

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.

Divide and conquer

Split a problem into independent smaller parts, solve each recursively, and combine the answers: the idea behind merge sort, quicksort and binary search.

Dynamic programming

Solve problems with overlapping subproblems by computing each one once and reusing the answer, often by filling a table: edit distance, knapsack, routing.

Greedy algorithms

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.

Recursion & backtracking

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.

Sorting algorithms

Open the catalog

Bubble sort

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.

Insertion sort

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.

Selection sort

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.

Heapsort

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.

Merge sort

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.

Quicksort

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.

Counting sort

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.

Radix sort

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.

Timsort

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.

Best practices

Go to Best practices

The SOLID principles in plain English

Five principles for code that is easy to change, each explained with a short example and a warning about overuse.

Clean code essentials: names, functions and simplicity

The small daily habits that make code easy to read, review and change.

A testing strategy that works: the pyramid, TDD and beyond

How many tests of which kind, how to write tests that catch real bugs, and how AI changes testing.

Code review best practices for authors and reviewers

How to make code reviews fast, kind and genuinely useful, including reviews of AI-generated code.

CI/CD best practices: ship small, ship often, ship safely

How continuous integration and delivery work, the practices that make them effective, and how to measure progress.

Best practices for working with AI coding assistants

How to get high-quality results from AI pair programmers and agents, and stay the engineer in charge.

Anti-patterns

Go to Anti-patterns

Code anti-patterns: God objects, spaghetti and golden hammers

The most common code-level anti-patterns, how to recognize them and how to refactor your way out.

Architecture anti-patterns: distributed monoliths and big balls of mud

The structural mistakes that make systems slow to change and painful to run, and how to recover.

Process anti-patterns: death marches, feature factories and hero culture

The team and process traps that quietly destroy productivity and morale, and what healthy teams do instead.

AI anti-patterns: vibe coding, prompt-and-pray and agent sprawl

The new failure modes of AI-assisted development, and the habits that prevent them.

Leadership & career

The people side of the job: leading teams, understanding the money, and growing your own career.

Open group

Engineering management

Go to Engineering management

Engineering management 101: what the job really is

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.

Your first 90 days as an engineering manager

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.

One-on-ones that actually work

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.

Feedback models: SBI, COIN, Radical Candor and how to use them

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.

Coaching and mentoring: how managers help people grow

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.

Difficult conversations: how to prepare, open and stay in dialogue

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.

Performance management: expectations, reviews and improvement plans

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.

Career development and promotions for engineers

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.

Hiring engineers: the recruiting process from brief to offer

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.

Interviewing well: structured interviews for software engineers

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.

Onboarding engineers: the first day, week and 90 days

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.

Building high-performing teams: safety, clarity and rituals that work

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.

Delegation and decision-making for engineering leaders

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.

Engineering metrics that matter: DORA, SPACE and what to avoid

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.

Managing up and stakeholders: working with your manager, product and peers

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.

Managing AI-augmented engineering teams

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.

From one team to many: growing beyond your first team

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.

Leading leaders: how to manage managers

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.

Org design and team structures for engineering organizations

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.

Running an engineering organization: the director and VP role

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.

Finance for software leaders

Go to Finance for software leaders

Finance fundamentals: how money moves through a software company

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.

The income statement: from revenue to net income, line by line

Read a P&L like a CFO: revenue, cost of revenue, gross margin, operating expenses, EBITDA, D&A, EBIT, interest, tax and net income, with a worked SaaS example and a calculator.

The balance sheet: what a software company owns, owes and is worth on paper

Assets, liabilities and equity in plain language: receivables, deferred revenue, capitalized software, goodwill, debt and liquidity ratios, with a worked SaaS balance sheet.

Cash vs profit: why profitable companies run out of money

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.

How to read a quarterly report (without being an accountant)

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.

Revenue recognition: bookings, billings and revenue explained

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.

Opex vs capex: what software leaders need to know

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.

Unit economics: CAC, LTV and payback for software companies

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.

SaaS metrics that matter: ARR, NRR, CAC payback and the Rule of 40

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.

Cost of revenue and cloud margins: the engineer's lever on profit

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.

Budgeting and headcount planning for engineering leaders

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.

Pricing and packaging for software companies

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.

Startup fundraising and cap tables: dilution, option pools and term sheets

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.

Valuation basics: what is a software company worth?

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.

Taxes and company setup for software founders (with Sweden and EU notes)

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&D incentives and the compliance calendar, with 2026 figures for Sweden.

Running a software company: the finance checklist

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.

Career paths

Go to Career paths

Engineer or manager? How to choose your career path

What each path really involves day to day, the myths around both, and questions to help you decide.

Mastering the Staff+ engineer path

What Staff and Principal engineers really do, the four archetypes, and the skills to focus on to get there.

Mastering the engineering management path

From first-time manager to director: the skills that matter at each level and how to keep growing.

The engineer/manager pendulum: switching tracks

Why moving between engineering and management can be a career superpower, and how to do it well.

Career skills that matter in the AI era

Which skills grow in value as AI writes more code, and a practical plan to build them.

Becoming a tech lead: the bridge between engineering and leadership

What a tech lead does, how it differs from management, and how to succeed in your first tech lead role.