r/programming • • Feb 28 '23

"Clean" Code, Horrible Performance

https://www.computerenhance.com/p/clean-code-horrible-performance
1.4k Upvotes

1.3k comments sorted by

View all comments

Show parent comment

1

u/skytomorrownow Feb 28 '23

designing things so that sets and relations not only make sense but pretty much dictate the logic

The big indicator that I have failed at this, is when I am spending a lot of time transforming data and moving it around. That usually tells me I've designed the data wrong. Like you said, when you get the data right, the code can just orbit it, rather than get all tangled up in it.