News for hackers. Stuff that matters.
Re:A Programming Language Underdog by antidesitter on Saturday September 22, 2018 @09:26AM (#18045888)
> It uses whitespace for blocks, like Python.

Why is this a con?

Re:A Programming Language Underdog by nemo1618 on Saturday September 22, 2018 @11:55AM (#18046475)
It's arguably more error-prone, e.g. Rob Pike justifies Go's decision to use curly braces like so:

>Some observers objected to Go's C-like block structure with braces, preferring the use of spaces for indentation, in the style of Python or Haskell. However, we have had extensive experience tracking down build and test failures caused by cross-language builds where a Python snippet embedded in another language, for instance through a SWIG invocation, is subtly and invisibly broken by a change in the indentation of the surrounding code. Our position is therefore that, although spaces for indentation is nice for small programs, it doesn't scale well, and the bigger and more heterogeneous the code base, the more trouble it can cause. It is better to forgo convenience for safety and dependability, so Go has brace-bounded blocks.

Re:A Programming Language Underdog by klibertp on Saturday September 22, 2018 @12:40PM (#18046683)
I never understood this. Whenever I see similar criticism, I wonder: what the heck does its author use to edit programs? Notepad?

(Well, given it's Rob Pike and looking at some of his work[1], this time it may well be close to the truth... ;))

[1] http://acme.cat-v.org/

Re:A Programming Language Underdog by enthus1ast on Saturday September 22, 2018 @08:23PM (#18048709)
and then you do both, indents and braces, indents that it looks nice and braces to satisfy the machine. Then you can just omit the braces... If i would just got a penny for each time i've counted braces...