Go Daily Tips

Showing posts with label expression. Show all posts
Showing posts with label expression. Show all posts

Tuesday, January 6, 2015

Notes on expressions

Expressions

"x |= y" is equivalent to "x = x | y", just like "x += y" is equivalent to "x = x + y".

 Same for &= .
Posted by Unknown at 10:13 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: expression
Older Posts Home
Subscribe to: Posts (Atom)

About Me

Unknown
View my complete profile

Blog Archive

  • ▼  2015 (10)
    • ▼  January (10)
      • Multiple switch cases
      • Alternative to label
      • Basic dependency management
      • TestMain in go 1.4 testing module
      • Exiting carefully
      • Notes on expressions
      • Check interface implementation
      • Select For and Loops
      • Trim strings
      • Go Channels Tips
Simple theme. Powered by Blogger.