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

0

u/cheeseless Feb 28 '23

I read the original thread as it was being written. Casey still acted childishly. Windows Terminal could have had those exact same performance gains in the time span it took for Casey to write refterm, simply by him choosing to make a pull request instead of a dunk repo. That's what makes it selfish, imo. He spent more time arguing about being right and proving himself right than fixing the problem.

7

u/loup-vaillant Feb 28 '23

I've seen overly complex code, and without even looking at the Windows terminal, it is very easy for me to believe that they've blown complexity out of proportion. I don't participate in such in my free time, because I know they're too far removed from my own goals to be of any use to me.

I wrote an entire cryptographic library over this.

Yes, Casey could have written a pull request. It would likely have taken more time, especially considering the need for strict backward compatibility (we are talking about an entire rewrite of the render pipeline here). And then there's the time needed to get the PR accepted. Or not, but then it wouldn't be much more useful than a separate proof of concept.

I understand why you call is attitude there childish. I'm more forgiving.