FAQ

Search Discussions

  • Russ Cox at Oct 21, 2012 at 4:31 pm
    Instead of introducing a new flag, how about just using ( ) around the
    if condition always?
  • Remyoudompheng at Oct 21, 2012 at 6:22 pm
    Just tried doing that and it doesnt work due to the simple statements in
    if/for/switch, they cannot be parenthesized in a simple way
    [as "(i := 1)" is illegal]

    Another option is to systematically parenthesize all composite literals.

    What do you think?

    http://codereview.appspot.com/6640056/
  • Russ Cox at Oct 21, 2012 at 8:13 pm
    Another option is to systematically parenthesize all composite literals.
    sure

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedOct 20, '12 at 7:40p
activeOct 21, '12 at 8:13p
posts4
users2
websitegolang.org

2 users in discussion

Russ Cox: 2 posts Remyoudompheng: 2 posts

People

Translate

site design / logo © 2022 Grokbase