Skip to content

WorthPosting

  • Home
  • About

Tag: testing

Cat Links Software Engineering

The Strategy Pattern in Go: Replacing Switch Statements with Interfaces

Posted on July 27, 2026July 28, 2026

Every Go codebase has one: that function with a growing switch statement. It starts with two cases — a direct

Continue readingThe Strategy Pattern in Go: Replacing Switch Statements with Interfaces

Cat Links Software Engineering

Context Done Right: Cancellation, Timeouts, and Propagation in Go

Posted on July 27, 2026July 27, 2026

Go’s context package is one of the most frequently used and frequently misunderstood parts of the standard library. It appears

Continue readingContext Done Right: Cancellation, Timeouts, and Propagation in Go

Cat Links Software Engineering

Test Doubles Demystified: Stubs, Spies, Mocks, and Fakes in Go

Posted on July 13, 2026July 14, 2026

Automated tests that hit real databases, live APIs, and production file systems are slow, flaky, and expensive to maintain. The

Continue readingTest Doubles Demystified: Stubs, Spies, Mocks, and Fakes in Go

Cat Links Software Engineering

The Specification Pattern in Go: Composable Business Rules Without the Spaghetti

Posted on June 15, 2026June 16, 2026

Business rules have a nasty habit of multiplying. What starts as a simple if check grows into nested conditionals scattered

Continue readingThe Specification Pattern in Go: Composable Business Rules Without the Spaghetti

Cat Links Software Engineering

The Strategy Pattern in Practice: Replacing Complex Conditionals with Composable Behaviors

Posted on June 1, 2026June 2, 2026

Every codebase has one: a function that started as a simple if/else and grew into a 200-line switch statement with

Continue readingThe Strategy Pattern in Practice: Replacing Complex Conditionals with Composable Behaviors

Cat Links Software Engineering

Stop Guessing Edge Cases: Property-Based Testing in Go and Python

Posted on May 18, 2026May 20, 2026

Most unit tests are liars. They pass confidently with a handful of carefully chosen examples, then fail spectacularly in production

Continue readingStop Guessing Edge Cases: Property-Based Testing in Go and Python

Cat Links Uncategorized

Refactoring Legacy PHP Without Breaking Everything: A Practical Guide

Posted on April 4, 2026

Every senior developer has been there: staring at a 15-year-old PHP codebase that’s held together by global variables, copy-pasted database

Continue readingRefactoring Legacy PHP Without Breaking Everything: A Practical Guide

  • Home
  • About
Copyright © 2026 WorthPosting | Signify by WEN Themes
Scroll Up