Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
johnnydoebk
on Nov 10, 2016
|
parent
|
context
|
favorite
| on:
Seven years of Go
If `c` is not some complex expression, I would write that as:
a := c if flag { a = b }
keymone
on Nov 11, 2016
[–]
and if `flag` is always false i would write it as
a := c
and be done with it
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: