No Compromises

When weird code needs to explain itself


Listen Later

Have you ever looked at a colleague's code and thought, "This is clearly wrong," only to find out it was actually a well-reasoned workaround for a tricky bug?

In the latest episode of the No Compromises podcast, we discuss what happened when Aaron reviewed Joel's code and couldn't make sense of a pattern spread across multiple Livewire components.

The code wasn't bad, it was solving a real UX flicker bug in an older version of Mary UI. But without context, it looked like a mistake and nearly got rejected. The fix wasn't just refactoring; it was giving the workaround a proper home: a trait with a descriptive name, clear method names, and thorough documentation explaining the bug, the reason for the pattern, and when it can eventually be removed.

We also talk about why "the explanation is in the PR note" isn't good enough, how AI coding agents can unknowingly propagate patterns they don't understand, and why strange code deserves to look strange, on purpose.

Explore Mastering Laravel resources to deepen your understanding of patterns like these.

00:00 The confusing code review that started this
01:15 Flagging the unclear pattern across components
03:54 The Mary UI toast flicker bug explained
05:45 Naming, documentation, and protecting the whole team
09:30 Silly bit

...more
View all episodesView all episodes
Download on the App Store

No CompromisesBy Joel Clermont and Aaron Saray

  • 4.9
  • 4.9
  • 4.9
  • 4.9
  • 4.9

4.9

8 ratings


More shows like No Compromises

View all
The Laravel Podcast by Taylor Otwell, Matt Stauffer

The Laravel Podcast

58 Listeners

Startups For the Rest of Us by Rob Walling

Startups For the Rest of Us

701 Listeners

Darknet Diaries by Jack Rhysider

Darknet Diaries

8,078 Listeners

Notes On Work - by Caleb Porzio by Caleb Porzio

Notes On Work - by Caleb Porzio

18 Listeners

The Stack Overflow Podcast by The Stack Overflow Podcast

The Stack Overflow Podcast

62 Listeners

The Bootstrapped Founder by Arvid Kahl

The Bootstrapped Founder

35 Listeners

All-In with Chamath, Jason, Sacks & Friedberg by All-In Podcast, LLC

All-In with Chamath, Jason, Sacks & Friedberg

10,260 Listeners

Hard Fork by The New York Times

Hard Fork

5,592 Listeners

Mostly Technical by Ian Landsman and Aaron Francis

Mostly Technical

27 Listeners