Avoid booleans by default

Booleans make maintaining and changing code needlessly error-prone. Use enums instead. Method parameters What does the following function do? updateState(state, true); Specifically, what does true mean? What would it mean to be false? Modern IDEs may give the parameter name as a hint, but it’s still cumbersome to read. updateState(state, silent: true) A boolean in … Read more

Book Review: Start With Why – Simon Sinek

Start With Why presents a compelling and practical framework that many professionals could benefit from implementing. Sinek’s core premise — that understanding your fundamental purpose drives better decision-making and long-term thinking — is both convincing and actionable. Unfortunately, the book suffers from significant structural issues. The central concept, while valuable, could be effectively communicated in … Read more

How to type Em-Dashes in Linux

The em-dash “—” is a trusty steed for writers, used structure to a sentence where a comma might not suffice. It has been said to be a sign of plagiarism using generative AI, because most computer keyboards do not have the em-dash, and so most people wouldn’t type with them naturally. That said, if a … Read more

Trunk-based development

What is trunk-based development? Trunk-based development is a collaborative development approach where all developers commit directly to the main branch (often called “trunk”). Feature branches and pull-requests should be avoided. Instead, teams rely on fast feedback loops, high collaboration, and strong CI practices to maintain code quality and stability. Why is trunk-based development better than … Read more