News for hackers. Stuff that matters.
Re:From Go to Rust: The Two Types of Readable Code by impulser_ on Wednesday February 14, 2024 @05:18PM (#39376358)
> But Go doesn’t have a way to get the maximum of some ints in the standard library. So I’d have to implement the max function myself

min and max functions are now in the standard library as of 1.21.

>Myself, I think expert readability is more important than beginner friendliness.

I think the opposite. beginner friendliness benefits both beginners and experts while expert readability only benefits experts. This is why I stopped using Rust. It hard to get started and even months into learning it and you finally feel productive you step into a new project and it feels like you are going backwards.

I can hop into any Go project and feel productive right away.

Re:From Go to Rust: The Two Types of Readable Code by namaria on Friday February 16, 2024 @02:38PM (#39401929)
Yeah Rust the the language I'd like to know. Go is the language I'd like to use. Especially if I have to work with many other programmers.