The Effect Blog

Opinionated takes on software engineering. Updated whenever inspiration (or caffeine) strikes.

Hot Take

Why useEffect Is the Only React Hook You'll Ever Need

After 8 years of professional React development, I've come to a controversial conclusion: we've been overcomplicating everything. The answer was always right in front of us.

Clean Code

Why Single Level of Abstraction Will Transform Your Rails Code

Your methods should read like a recipe, not like a crime scene. How one deceptively simple principle turns unmaintainable Ruby into code that explains itself.

Hot Take

Tabs vs Spaces vs U+2800: The Indentation Debate Is Finally Over

Both sides of the indentation war have been wrong. The Braille Pattern Blank survives HTML rendering, is immune to whitespace trimmers, and passes through clipboard operations untouched.

Hot Take

I Switched from Git CLI to a GUI and My Productivity Doubled

After eleven years as a CLI purist, I accidentally opened GitKraken and never went back. Wrong-branch commits dropped 12x, merge conflict resolution got 3x faster.

Career

How I Work for 10 Companies Simultaneously Using AI (And Nobody Has Noticed)

Eight months ago I held one job making $185K. Today I hold ten concurrent remote positions with a combined comp of $1.74M. I work six hours a day and haven't missed a deadline.

Hot Take

Why Your Ruby Variables Should Be Full English Sentences

Ruby was designed to read like English. So why are we still naming variables usr, txn, and amt? After introducing sentence-length naming, PR review times dropped by 55%.

Best Practices

Always Write Comments: The "Self-Documenting Code" Myth Is Killing Your Codebase

The industry decided comments were bad. After analyzing 2.1 million lines across four codebases, I can show you exactly how much that advice is costing in bugs and onboarding time.

Hot Take

Why I Name All My Variables x: A Study in Minimalism

Six months ago I argued Ruby variables should be full English sentences. I was wrong. After a year of living with sentence-length names, I've arrived at the opposite extreme: every variable is x.

Hot Take

Senior Engineers Should Write More Copy-Paste Code

DRY is the most over-applied principle in software engineering. After twelve years of maintaining production systems, I've learned that the wrong abstraction is far more expensive than a little duplication.