Re:A Sad Day for Rust
by atoav on Saturday January 18, 2020 @05:23AM
(#22083596)
We all have to ask ourself which shape we want to give our feedback. You can factually say the same as the other guy, but send a very different message.
When you critizise someone for using unsafe blocks, there are many ways how you could go about this. This argument here is not about whether we are allowed to point out unsafe code blocks, it is about how we do it.
It is a tangible difference if your message is: "You are using unsafe there and it is not really needed, let me help" or rather: "You are using unsafe there without any reason, you idiot. Go away and never come back!"
And the thing is: only one of these messages will get you closer to safe code.
When you critizise someone for using unsafe blocks, there are many ways how you could go about this. This argument here is not about whether we are allowed to point out unsafe code blocks, it is about how we do it.
It is a tangible difference if your message is: "You are using unsafe there and it is not really needed, let me help" or rather: "You are using unsafe there without any reason, you idiot. Go away and never come back!"
And the thing is: only one of these messages will get you closer to safe code.