I'm not sure about its *idiomacity*, but namespacing should be a nice thing.

On Tuesday, March 1, 2011 at 8:48:52 PM UTC, yiyus wrote:
>
> 2011/3/1 Nihlus <ho...@valentimex.com <javascript:>>:
> > some_fun() would be implemented as an ordinary method
> > for the type (with the value of the receiver simply discarded)
>
> Why having a receiver if you are going to discard it? What would be
> the advantage of using a T.New() method instead of a NewT() function?
>
> -- 
> - yiyus || JGL .
>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/1294bfdb-4761-4e7f-9137-20a4c520aded%40googlegroups.com.

Reply via email to