|
|
|
|
|
by 01HNNWZ0MV43FF
10 days ago
|
|
Did you see the "Spooky C++" post? https://www.nablag.com/spooky_cpp Did you already know that? Do all your junior C++ programmers know that? Do you have lints turned on in every C++ project and dep for that? Cause I had to really look at it to figure it out. And I had to think, "Would Rust allow this code?" |
|
Sure, it'd be nice if the compiler didn't allow you to write this code. But there are worse examples than this out there.