Daily Edition · Page 5

THE DAILY INDEX

Technology, AI, software, security, crypto and business

ARTICLES & TUTORIALS

TLDR Dev

EVERYTHING SHOULD BE TYPED: SCALAR TYPES ARE NOT ENOUGH

Relying only on scalar types creates subtle semantic bugs that bypass compilers because they cannot distinguish between different domain concepts, a risk not fully mitigated even by grouping parameters into structs. The solution is to wrap every meaningful domain concept in a distinct "newtype," ensuring the compiler enforces semantic correctness and leading to safer, self-documenting code with compile-time validation.

MY PR HAS BEEN WAITING A YEAR, OR THE EXPONENTIAL CURVE BEHIND OPEN SOURCE BACKLOGS

Open-source projects like Jellyfin face massive backlogs of unmerged PRs due to bottlenecks, such as a single maintainer nearing 100% utilization, which results in exponentially growing wait times and a "batch size death spiral" where large PRs clog the system. Combat this problem by optimizing the existing maintainer's time. Some solutions include capping PR size, gating quality, limiting work in progress, setting review cadences, and building a reviewer tier.

TLDR IndexPage 5