On Wed, Nov 18, 2009 at 8:02 PM, Sasha Pachev <[email protected]> wrote:
> I love curly braces and semi-colons. Semi-colons allow you have
> multiple statements on one line. Curly braces make it easy to see the
> start and the end of a block.
>

I like that part about Go: Semicolons _separate_ statements rather
than _terminate_ them, so they're completely optional in most cases.
If you want to cram a bunch of things on one line, nothing is stopping
you. But the compiler isn't going to come after you if you leave them
out (most of the time).

-- 
justin
http://justinhileman.com
--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list

Reply via email to