Alexander Kondov’s Post

View profile for Alexander Kondov, graphic

Staff Engineer @ SumUp, Author of Tao of React, React Consultant

The sunk cost fallacy is one of the biggest problems we have in software engineering. We use libraries that have outlived their usefulness because we’re invested in them We keep adding code to thousand-lines-long classes because that’s how it’s done so far. We fetch data inefficiently because that’s just how the APIs are created. “We’ve gone so far, we can make it work“ But I got a piece of advice a while back: “Never postpone the architectural change” There’s a moment when you realize an architectural decision is no longer serving you. And every line of code you add to the project after it is essentially piling on technical debt. We just don’t realize it. So the moment a decision is not always serving you, bite the bullet and change it.

Has to be carefully planned & timeboxed depending on circumstances and scale - I've also seen some of the opposite - many partial attempts scattered across the codebase, started and never finished by devs who're no longer around. Extreme cases aside, I honestly tend to prefer consistent "good enough" solutions nowadays and cut the cognitive load of having multiple "awesome" styles.

something I though quietly: React is there because it was there at the right time, at the right moment, from a popular company, and not because it is good. but I might get lightning strike at me from react dev (like myself) because it "brings food to the table".

David Whitt

Microsoft Software Development | Contractor | Mentor | Remote | +61 410 489 092

1mo

Knowing when to change and when to hold is the single most important skill good software professionals possess.

Hajime Yamasaki Vukelic

I help people get shit done so they stay done | Vanilla JavaScript, Vue, React, Go, Accessibility | UX | The 🦆 guy

2mo

Man, some people are so resistant to change they'll shoot patches down on the grounds that they change something. 🤣

Like
Reply
See more comments

To view or add a comment, sign in

Explore topics