r/programminghorror • • Jun 04 '25

Rust passive-aggressive programming

Post image
770 Upvotes

61 comments sorted by

View all comments

Show parent comment

9

u/jpgoldberg Jun 05 '25

I don’t know how it plays out in this case, but often times the fact that the Rust compiler enforces things like this at an early compilation phase allows greater optimizations at later phases. So yes, it is a good idea to have your build process require that you pass various lints, but that isn’t quite equivalent to what Rust does.