Serge Aurubin

SERGE AURUBIN

DATA SCIENTIST

Welcome to my blog for everything having to do with data science and analysis. I am always looking for new opportunities to drive business insight using data analysis.

Data & Analytics
  • Data Analysis
  • Power BI
  • Excel
  • Data Pipelines
  • Matillion
Engineering
  • Software Developer
  • Python
  • PHP
  • ReactJS
  • Flutter
  • Front End Dev
  • Back End Dev
Databases
  • MySQL Dev/DBA
  • Oracle DBA
Cloud & AI
  • Amazon Web Services
  • Docker
  • Kubernetes
  • Git
  • Artificial Intelligence
  • Claude
  • OpenAI
Back to Videos

DRY Often Makes Your Code Worse

ArjanCodes

May 8, 2026   1

???? Build software that lasts. Join the Software Design Mastery waiting list → https://arjan.codes/mastery.

In this video, I show how a “clean” DRY refactor can actually make your code worse. Instead of improving the design, it introduces hidden complexity, confusing flags, and harder-to-understand behavior. Then we refactor it again, this time focusing on behavior and responsibilities, not just code shape.

???? GitHub Repository: https://git.arjan.codes/2026/dry.

???? ArjanCodes Courses: https://www.arjancodes.com/courses.

???? Join my Discord server: https://discord.arjan.codes.

⌨️ Keyboard I’m using: https://amzn.to/49YM97v.

???? Chapters:
0:00 Intro
0:30 The Bad Refactor First
3:58 What This Teaches About DRY
4:48 A Better Refactor
10:24 Some Duplication Is Actually Good
11:21 Quick Guidelines
12:36 Final Thoughts

#arjancodes #softwaredesign #python

0 Comments

No comments yet. Be the first to weigh in.

Back to Videos

Login