Breaking Best Practices in Software Engineering

"Best practices" kill thinking faster than bad code. Bad code is visible. You see it, you fix it. "Best practices" are invisible. They replace thinking with compliance - and nobody questions compliance. I've seen engineers spend 3 days setting up the "correct" micro-frontend architecture for a feature that needed 4 hours and a single component. Because the team had a standard. Because the docs said so. Because that's how it's done here. The feature shipped late. The architecture was pristine. Here's what nobody tells you: Best practices are answers to questions you haven't asked yet. They were born in a specific context, at a specific scale, solving a specific problem. When you apply them without understanding that context - you're not engineering. You're cargo-culting. The patterns that became dogma in my career: → "Always lift state up" - until you have 47 props drilling through 8 components → "Never mutate state directly" - except in the performance-critical loop where you absolutely should → "Separate concerns" - until your "clean" abstraction makes a 2-line bug take 2 hours to trace Every one of these is true. In context. Applied blindly, they become the reason the codebase is elegant and the product is slow. The engineers I respect most don't follow best practices. They understand the tradeoffs behind them - and make a deliberate choice every time. That's the difference between a craftsman and a rule-follower. Bad code can be refactored. Thinking that outsourced itself to a style guide is much harder to recover. What "best practice" have you broken - and it turned out to be the right call? #Frontend #SoftwareEngineering #WebDevelopment #TechLeadership #Programming

  • text

To view or add a comment, sign in

Explore content categories