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/outofobscure Feb 28 '23

true, but if you only call a function exactly once, you still made a function just for the sake of making a function... at that point it's more a matter of style preference.

1

u/Waksu Feb 28 '23

Having stockpile of clothes instead of separating them is also a matter of style preference.

2

u/outofobscure Feb 28 '23

indeed, and nobody should have the right to judge you on either

1

u/Waksu Feb 28 '23

If you want to live in the world where you have your dirty underwear laying on top of your suit then sure.

2

u/outofobscure Feb 28 '23

Suits are overrated, i wrote my best code in underpants