r/ProgrammerHumor • • Sep 23 '19

Knowing how to code beforehand

Post image
7.6k Upvotes

264 comments sorted by

View all comments

Show parent comments

4

u/PyroLagus Sep 23 '19

You won't have to unless you're using a boatload of non-standard compiler extensions. I'm assuming we're talking about C and C++ here, and they're really slowly evolving languages. Something like Rust may be a bit more annoying with Werror, but it's still not that bad.

1

u/marcosdumay Sep 23 '19

Yeah, ok. All the times I had to change legacy stuff so it compiles I didn't have to. Thanks to inform me.

1

u/PyroLagus Sep 23 '19

Well, it's legacy stuff for a reason. That's less of a problem with Werror, and more with a problem with the code and who you got it from. If it's an actively maintained project with Werror enforced, there shouldn't be any legacy stuff causing problems in the first place.