https://groups.google.com/forum/#!topic/golang-nuts/A9mCgLwy...
rsc wrote a lot of the Ms.
And the answer rsc gave was charmingly funny and helpful. Did you try following rsc's advice? I won't post a spoiler here; It's awesome and way better than "hey, we use ^ instead of ~ for that".
The problem so often is that people who can't keep up and don't understand how good the answers are, blame the experts for going too fast, and mistake "being too busy to handhold 1000s of people" for "being a jerk".
Would you go to Yankee Stadium and stop Derek Jeter on the way into work, just to ask him "Hey, does Major League Baseball use metal bats, or wooden bats?"
A really helpful answer in this case would include the story behind why the Go creators decided to use a different operator. Linking to the entire spec (not just the relevant section on arithmetic operators) is not friendly, patient or welcoming.
Rob Pike is pretty busy too, but he appears to be much friendlier in his responses (even to newbie questions).
I'll probe once more, since you totally ignored the question: did you run that test program through the compiler? The result is evidence of magnitudes more friendliness than anything that anyone could possibly write in a comment.
Imagine asking somebody if the sky is blue and then instead of getting a simple "Yes" answer you get a piece of source code you need to compile and run to see that "Yes".
Give a man a fish and you feed him for a day; teach a man to fish and you feed him for a lifetime.
Compiling
package main
func main() {
println(~5)
}
produces main.go:4: the bitwise complement operator is ^
(http://play.golang.org/p/dFoaHVNOJw).I am not sure why my 2010 email didn't include a direct link to the Go program on play.golang.org. I suspect that play.golang.org didn't yet support "sharing" at the time, but I don't remember.
I believe the point of the link to the spec was to make clear that the compiler implementation is not the only source for answers, that the operator is also documented.
Thanks for pointing this out. Both parts of the response were intended in the spirit of "let me show you how" and not "go figure it out yourself". I will try to make that clearer next time.
The intent ("let me show you how") is definitely good, but it was lost in delivery. It turned out to be like a joke without a setup. Without the missing context it just looks like a non-answer to a simple question.
I guess I shouldn't have presumed about Russ' reputation - but he definitely has a very negative reputation with me.
(What is 'friendliness' and 'unfriendliness' varies lots though, culturally.)
And not in the over-the-top, theatrical way Linus does it which is mostly style, you feel there's real sneer.
The comparison with Linus is interesting to me, since I've always interpreted Linus's rants as real venom, not just theatrical style. But I don't know Linus, so maybe I'm misreading the rants.
Always with the half-excuses for people with technical ability/track record. "Well he comes off as kind of rude, buut he kind of knows what he's doing so the arrogance is maybe warranted". Just goes to show that technical ability and dealing with people even in a technical setting are two very different things. I guess that is the reward for a technical track record? Being half-excused for lording it over other people?
Disclaimer: I know nothing about Cox' online personality. I'm just addressing how people react to rude (or whatever the intent is) technical people.
Well, I guess that's life.
If you can do somebody else cannot do, and they need you to do it, you get to dictate the terms and be rude.
Ideally we'd all like rainbows and kindness, but you know...
I wasn't making an argument initially, I was making an observation: "He's curt, maybe justifyingly so, but still...".
Then I further expanded upon that, based on the comment I got, that "that's how it is, if you're good at something you often get to dictate how you treat people who want it".
Wasn't meaning it to be an argument (to be met with counter arguments, to move goalposts, etc), just plain observation of how it is, as I see it, in both cases.