Hacker News new | past | comments | ask | show | jobs | submit login

"those parameters should be part of type constructors"

I'm not sure if this is a nit, a misunderstanding on my part, or a difference in terminology, but I think what is meant here is "value constructors" (or more commonly, just "constructors"). As I understand the term, "type constructors" construct types.




Well, there are no type constructors in that sense in Go.


That was my understanding, but being new to Go I wanted to be sure (and be sure there wasn't some other specialized use in which "type constructor" meant something different than "constructor").


Not even for pointers, maps and slices?


Oh, good catch!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: