Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> First, trivial: what's exactly mediocre in the Rust example? I don't think it's mediocre at all.

A better way to phrase it would be "code produced by a middle-level engineer". It just so happens that in Rust a regular, adequate, middle-level engineer can easily write the best possible code because the language guides him to it, but in C++, a regular engineer still wouldn't know about some gotchas that would make his code inferior.

It's unknown unknowns: Rust shows most of them to you, while C++ stays silent.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: