--
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
On Thu, Sep 5, 2013 at 1:13 PM, Isaac Mosquera <is...@sharethis.com> wrote:
Is there a difference between the following 2 lines of code:m := make(map[string]int)and the following:m := map[string]int{}are they initialized the same? is one preferred over another?Similar to new(Struct) vs Struct{}, I use them in slightly different ways: