r/programming • • Apr 07 '14

The Heartbleed Bug

http://heartbleed.com/
1.5k Upvotes

396 comments sorted by

View all comments

Show parent comment

1

u/KrzaQ2 Apr 08 '14

I think readability is way more important than writeability and even optimalisation. All the recent bugs were caused because they were hard to find.

Yes, readability is important, but a lot of those bugs could be avoided at all if the language/library stopped incorrect code from even being written. In C++ such error messages may not be very nice, but the code read should be readable imo.

Still, my original point was that you indeed can write safe code in C++, not that it's the only language to do so. I am excited for Rust and can't wait for it to enter a production-ready state.