News for hackers. Stuff that matters.
Re:Things I Wish Someone Had Told Me About Go by kin3tic on Monday March 11, 2013 @12:28PM (#5357758)
Wow, this displays a severe misunderstanding of how pointers work in general. It's not like the syntax for it in Go is any different, this code would look very similar in anything that has real pointers (C, for example), certainly in regards to the notation and syntax for pointers and references and such.

'I understand what a pointer is'. Questionable.

Re:Things I Wish Someone Had Told Me About Go by drivebyacct2 on Monday March 11, 2013 @12:46PM (#5357909)
For reference, I posted this in a subthread above: the same example in C demonstrating using a pointer and passing it or declaring an object and passing it's address: http://codepad.org/TeUZi1Wp
Re:Things I Wish Someone Had Told Me About Go by latch on Monday March 11, 2013 @01:24PM (#5358193)
Same example in C# showing pass by reference does exist http://rextester.com/IYZE41714