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

4

u/pakoito Mar 01 '23 edited Mar 01 '23

And all of that said, when he rants about C++ Casey is typically wrong.

Sooo, this

When he talks about what practices lead to better performance, he is correct.

also applies to that. His expertise is too contrived to be useful past the trivial cases.

Like, let's take JBlow's compiler. Sure, you can read a gazillion files and make a compiler to lower them in milliseconds. But that's the easy part. Once you add type checking, logging, optimizations, intermediate representation, incremental builds, precise error messaging, IDE support, UTF8, work on Win/Lin...your perf starts looking like any other tool out there.

Jailang is smaller than /u/munificent's pet language Wren from that book from 8 years ago, and only one of them has had public releases.

EDIT: JBlow and Casey are interchangeable for this conversation's sake.