News for hackers. Stuff that matters.
Re:Simpler and faster GC for Go by hyperliner on Thursday July 17, 2014 @06:53PM (#8050708)
I agree.

But it has always bothered me how he declares pointers! :-)

(stack[pointer] s, node[pointer] n)

Instead of

(stack [pointer]s, node [pointer]n)

Am I picky? :-)

[pointer] is the * just trying to avoid the italics conversion of HN.

Re:Simpler and faster GC for Go by shurcooL on Friday July 18, 2014 @01:06AM (#8051754)
I remember I was going back and forth between the two over the years, and I had to keep looking up which was my "latest" preferred style.

I eventually came to the following,

(stack [pointer] s, node [pointer] n)

Since it's symmetrical, it's easy to remember.

Luckily, I've been using Go and gofmt (goimports, specifically) the last 2 years so this is no longer an issue.