<div dir="ltr">I don't know if significant whitespace is actually "improving" the syntax.<div><br></div><div><div>"As a simple, self-contained example, consider the representation of program structure. 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. "</div>
</div><div><br></div><div>Source: <a href="http://talks.golang.org/2012/splash.article">http://talks.golang.org/2012/splash.article</a></div><div class="gmail_extra"><br clear="all"><div>--<br>Ziad</div>
<br></div></div>