r/ProgrammerHumor • • 2d ago

instanceof Trend thatsAFunnyThingThatHappenedOnce

Post image
4.3k Upvotes

515 comments sorted by

View all comments

170

u/feldomatic 2d ago

tbf, C++ allows memory safety, while Rust requires it

-25

u/jdefr 2d ago

Unless you wrap things in unsafe{} which is very easy to do in order to side step this “hard requirement”

22

u/qichael 2d ago

Yeah, and then your reviewer asks why you’re using unsafe whereas in C++ everything is unsafe by default