News for hackers. Stuff that matters.
Re:Ask HN: What Is Readable Code? by smoldesu on Sunday September 25, 2022 @08:14PM (#32977892)
Agreed, the example you posted is one of the main reasons I feel weird using Go. If there were better semantics in place, I feel like Go could really balance legibility and ergonomics to their advantage. As it stands though, I actually feel like Rust and C++ are more readable than Go. It uses more brainpower to understand what's going on, but the way those languages maximize each line's potential is really nice. Coming from Java and Python, it was like dusting off Tolkien after years of J.K. Rowling.

There are no comments on this comment yet.