News for hackers. Stuff that matters.
Re:Understand Go pointers by leshow on Wednesday April 26, 2017 @09:40AM (#14202818)
Even if you're a JS programmer, having no knowledge of pointers just shows you've never dug very deep into how your language works. Does JS pass by value? by reference? does it pass references by value? These are all things a JS programmer should know, and requires some knowledge of pointers.
Re:Understand Go pointers by bsaul on Wednesday April 26, 2017 @04:15PM (#14206546)
Don't understand the downvote. Understanding javascript's closure (which is a core js feature even on the client) properly without understanding pointers seems like an impossible task to me.
Re:Understand Go pointers by inimino on Thursday April 27, 2017 @08:48AM (#14211013)
The idea of reference is necessary, but pointers are an implementation detail. If you don't come from C, you can understand everything in JavaScript without knowing what pointers are. Many languages have references to mutable state without the peculiar details that make pointers what they are.