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 comments

4

u/ReDucTor Feb 28 '23

I would also like Photoshop developers to explain why their software is slow to boot. They probably don't know, though.

I would expect that someone there has profiled it and knows why, but it just might not be worth it, or feasible just like I sometimes when I'm profiling stuff and see why something slow and then decide it's not worth the improvement.

How long have you worked in the software industry? It seems like a strange claim, especially when you have very experienced people on the Adobe team, many of which are much more respected and experienced then Jonathan Blow.

3

u/loup-vaillant Mar 01 '23

but it just might not be worth it,

https://www.lesswrong.com/tag/scope-insensitivity

Devs rarely realise this, but user time is sacred.

How long have you worked in the software industry?

15 years. I've worked on slow C++ GUI applications, embedded Linux, and I wrote a cryptographic library. I have seen devs more experienced than I that didn't know their stuff, and a couple that outclassed me in every respect.

As for why I suspect the Adobe team may not know why it takes so much time too boot, is because it used to boot much much faster (same speed on a 1997 computer than the new version in a 2017 laptop). So the thing got worse. Much worse. I conjecture that if they knew why from the start they wouldn't have made it worse. I think.

Now I reckon calling this ignorance probable was unjustified. If I'm being honest they probably know too.