Re:Testing the memory safe Rust implementation of Sudo/Su
by thwd on Wednesday June 28, 2023 @11:30AM
(#36507915)
Huh? Go has its tradeoffs, some people don't like it and that's fine. But nobody can deny that it is by far one of the most 'readable and reviewable' (the argument in question) mainstream languages.
[ Parent
| on HN ]
Re:Testing the memory safe Rust implementation of Sudo/Su
by c_crank on Wednesday June 28, 2023 @11:33AM
(#36507963)
The praise of Go didn't end with it being just readable, but also 'brutally pragmatic' and all that.
If Googlers think that Rust code is just as readable as Go, even though Rust obviously makes tradeoffs against readability for other features, I would be tempted to mark that as Googlers just having a culture about being overeager to think the tools they are using are the best.
Re:Testing the memory safe Rust implementation of Sudo/Su
by earthling8118 on Wednesday June 28, 2023 @12:02PM
(#36508446)
Why can't I deny that it is readable and reviewable? I don't think it is, basically at all. It gets evangelized as if it is but I have yet to see a compelling argument that can convince me. I've had the displeasure of having to dive into some codebases and I specifically hate it for that reason.
Re:Testing the memory safe Rust implementation of Sudo/Su
by thwd on Wednesday June 28, 2023 @12:26PM
(#36508772)
Well, I can't speak for you, of course. I also haven't seen that code you reviewed. And I won't try to evangelize you. I'd say, in a nutshell, that Go is readable and reviewable because its grammar consists of the C-style basis that most every imperative language has, and not much more. It's the lack of features that makes it very 'WYSIWYG'.