programming-patterns

Tag

Cards List
#programming-patterns

Proof types in Dart: Using final classes as computational witnesses

Lobsters Hottest ↗ · 2026-07-28 Cached

This article explains how to use Dart's final class with private constructors to create proof types that enforce validation at compile time, ensuring that certain computations have been performed before values are used.

0 favorites 0 likes
#programming-patterns

@TheVixhal: https://x.com/TheVixhal/status/2079274210367775052

X AI KOLs Timeline ↗ · 2026-07-20 Cached

This article explains the concept of finite state machines, their formal definition, and why they are a powerful abstraction for building reliable systems, including how they relate to current agent frameworks.

0 favorites 0 likes
#programming-patterns

@QingQ77: A verifiable reference of programming patterns extracted from production code, each with interactive visualization, line-accurate source links, and multi-language implementations. https://github.com/Totoro-jam/battle-tested-patterns… Battle-Teste…

X AI KOLs Timeline ↗ · 2026-06-15 Cached

A reference library of 46 programming patterns extracted from real production code (e.g., React, Linux kernel, Go, Redis, etc.), each with interactive visualization, line-accurate source links, implementations in TypeScript/Python/Go/Rust, and runnable exercises. The site is bilingual (Chinese and English) and supports search and category browsing.

0 favorites 0 likes
#programming-patterns

Minimal Viable Zig Error Contexts

matklad ↗ · 2026-05-03 Cached

A blog post detailing a minimal pattern for adding error context in Zig using errdefer logging, comparing it to full diagnostics sinks and catch blocks, and discussing tradeoffs.

0 favorites 0 likes
← Back to home

Submit Feedback