Re:Experiences Using Go as a Teaching Language with Young Pr...
by zphds on Thursday August 13, 2015 @12:15PM
(#10055271)
Those kids must be really smart. I still have co-workers who can't get the $GOPATH foo right. :(
[ Parent
| on HN ]
Re:Experiences Using Go as a Teaching Language with Young Pr...
by schmichael on Thursday August 13, 2015 @03:43PM
(#10056714)
Force them to read this: http://golang.org/doc/code.html
I know it's unfortunately long, but I have yet to find someone who has read it and is still confused about $GOPATH.
Re:Experiences Using Go as a Teaching Language with Young Pr...
by toufka on Thursday August 13, 2015 @07:18PM
(#10057775)
Part of it is just understanding how to set up the $GOPATH. Understanding its structure is one thing, but actually getting the 'go' to read the right directory on OSX vs Ubuntu vs other systems depending on your shell (and version of go?) and over old installations, can be a very confusing way to start using the language.
Re:Experiences Using Go as a Teaching Language with Young Pr...
by soheilhy on Friday August 14, 2015 @06:01PM
(#10063243)
That's right. GOPATH can be problematic, but that's easy to fix with a script: https://github.com/soheilhy/goget