3 ms·
I prefer reading Go, but it's not because Go code is less dense, it's because Go keeps the language's grammar small. I usually don't have to follow a chain of m
by strken 5y ago
I prefer reading Go, but it's not because Go code is less dense, it's because Go keeps the language's grammar small. I usually don't have to follow a chain of macros or pre-processor directives, because the language discourages them. Reading boilerplate is still tedious.
There's a careful balance required to make a language simple yet expressive so that concepts are obvious. On one side is a Turing machine or Brainfuck, where the concepts in a piece of code don't pop out to the reader because the language is too simple to express them concisely. On the other is Haskell or Rust, where the language expresses so many concepts and has so many rules that the reader will necessarily be unfamiliar with some parts of what they read.