FAQ

On 19.02.2013 08:28, Jan Mercl wrote:
- Short variable declaration is not related to "duck" typing.
This false wording is irrelevant to the proposal
- The proposal would make sane code illegal. The scenario where a zero
value is only conditionally altered before being returned/passed is
common.
The example uses a bool variable. When using an int or string, it is
arguably less common.
- Breaks the Go 1 compatibility rules.
Proposal is strictly for Go 2
- j
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

People

Translate

site design / logo © 2021 Grokbase