←back to thread

131 points apta | 1 comments | | HN request time: 0s | source
Show context
intortus ◴[] No.9266418[source]
Just because you're intelligent doesn't mean you should spend all that intelligence trying to figure out other people's messes. Simplicity and explicitness are paramount when collaborating.
replies(1): >>9266444 #
AlexandrB ◴[] No.9266444[source]
> Simplicity and explicitness are paramount when collaborating.

So is succinctness (most people can't speed read code). The examples he gives make Go look anything but succinct.

replies(2): >>9266486 #>>9266557 #
intortus ◴[] No.9266557[source]
At a certain point succinctness does more harm than good. Go captures nearly all of the sense of python's early values (https://www.python.org/dev/peps/pep-0020/), without requiring all that much more in the way of boilerplate. So you have to if-check an error value here and there, no big deal. You should be handling errors anyway.

If Haskell's succinctness level is 1, then I would rate python's at 2, go's at 4, and java's at 20.

replies(2): >>9266593 #>>9266767 #
dragonwriter ◴[] No.9266593[source]
Presumably, that rating scales has higher numbers meaning less succinctness? Because otherwise the order of the numbers (much less there relative values) doesn't make any sense, even though that's kind of the opposite of what you'd expect of a "succinctness level".
replies(1): >>9266614 #
1. intortus ◴[] No.9266614[source]
It's a linear scaling factor for how many lines of code I tend to take to express the same medium-sized program across these languages.