The Morning Dev

Only the news worth knowing

‹
 
  • AAPL 339.69 ▼ 1.30%
  • MSFT 527.18 ▼ 1.63%
  • NVDA 190.88 ▲ 5.11%
  • GOOGL 285.18 ▲ 0.92%
  • AMZN 259.61 ▼ 0.23%
  • META 608.49 ▲ 0.56%
  • TSLA 348.96 ▲ 1.53%
  • AVGO 311.13 ▲ 6.72%
  • TSM 378.73 ▲ 7.58%
  • ORCL 119.40 ▲ 3.77%
  • AMD 442.03 ▲ 9.31%
  • NFLX 63.91 ▼ 2.52%
  • CRM 216.51 ▼ 2.64%
  • ADBE 239.06 ▼ 2.99%
  • INTC 55.02 ▲ 5.29%
  • IBM 247.11 ▼ 2.84%
  • PLTR 158.38 ▲ 2.19%
  • SNOW 279.20 ▲ 3.56%
  • NET 281.86 ▲ 14.87%
  • SAP 233.82 ▼ 4.03%

Watch · Python and software design

7 Python Features That Make Your Code Worse

ArjanCodes

Watch on YouTube ↗

Chapters

  1. 0:00Intro
  2. 0:301. @property: Hiding expensive work
  3. 2:202. @dataclass: Turning everything into data
  4. 4:233. match: The fancy if statement
  5. 5:274. @cache: Free speed that isn’t free
  6. 6:535. Decorators: When important behavior becomes invisible
  7. 9:036. async: When async leaks into everything
  8. 12:597. dataclass(slots=True): Optimizing before measuring
  9. 15:09Final Thoughts
Show the full video description ›

🧱 Build software that lasts. Join the Software Design Mastery program → https://arjan.codes/mastery. Python has a lot of powerful features, but just because you can use them doesn’t mean you always should. In this video, I look at 7 Python features that can quietly make your code harder to understand and maintain, from @property and dataclasses to caching, decorators, async, pattern matching, and slots. The goal isn’t to avoid these features, but to understand the trade-offs and know when they actually improve your design. 🔥 GitHub Repository: https://git.arjan.codes/2026/worse. 💬 Join my Discord server: https://discord.arjan.codes. ⌨️ Keyboard I’m using: https://amzn.to/49YM97v. 🔖 Chapters: 0:00 Intro 0:30 1. @property: Hiding expensive work 2:20 2. @dataclass: Turning everything into data 4:23 3. match: The fancy if statement 5:27 4. @cache: Free speed that isn’t free 6:53 5. Decorators: When important behavior becomes invisible 9:03 6. async: When async leaks into everything 12:59 7. dataclass(slots=True): Optimizing before measuring 15:09 Final Thoughts #arjancodes #softwaredesign #python

More from ArjanCodes

More to watch