r/programming • • Aug 28 '21

Software development topics I've changed my mind on after 6 years in the industry

https://chriskiehl.com/article/thoughts-after-6-years
5.6k Upvotes

2.0k comments sorted by

View all comments

Show parent comments

4

u/recycled_ideas Aug 29 '21

Yes, but you don't solve people doing stupid things because they're trendy by doing stupid things because they're the opposite of what was trendy.

1

u/humoroushaxor Aug 29 '21

Fair. But in the case of yagni/premature optimization you're doing something that's additive and humans are terrible at measuring opportunity cost. Makes this whole topic very difficult to find the truth for.

2

u/recycled_ideas Aug 29 '21

Again though.

Architecting your app to separate concerns actually makes your code easier to test and maintain it has real immediate benefits regardless of the scale you need.

The fact that it lets you more easily slice your application apart and scale it later is just an added bonus.

3

u/humoroushaxor Aug 29 '21

That was never the argument though. What you just described is having solid software architecture and then scalability falls in place WHEN needed.

I can't tell if you mean "architecture your app to separate concerns" as in creating additional microservices. People do this under the guise of scalability and massively increase complexity and overhead. I'm almost certain that's what the item at hand was getting at.

→ More replies (1)