News for hackers. Stuff that matters.
Re:Go is moving to GitHub by enneff on Thursday November 13, 2014 @08:36PM (#8605355)
Anyone that knows Rob will tell you that you're simply wrong about this.
Re:Go is moving to GitHub by yohanatan on Thursday November 13, 2014 @09:16PM (#8605496)
Only if you are inside the cult could you possibly have that opinion. Do you also think that Jim Jones was an expert on the New Testament teachings? If you take his word for it, of course he was.
Re:Go is moving to GitHub by enneff on Thursday November 13, 2014 @09:23PM (#8605514)
We (the Go team) regularly have conversations about all kinds of programming paradigms, because we're into that kind of stuff. Some of us really like functional programming languages. But Go is not that kind of language, so those primitives do not belong there. Go is not everything to everyone, and it would be a mistake to try to make it that way. That doesn't mean that we don't see those things as generally valuable, just not in this context.
Re:Go is moving to GitHub by yarou on Friday November 14, 2014 @05:03AM (#8606466)
A bit OT, but probably the biggest roadblock for me switching over to Go is the wonky syntax. Are there any plans to make Go more accessible to someone coming from more traditional languages? (i.e. like "do" notation in Haskell) I've done the Go tutorial about 5 times last I checked (seriously), and I just can't stomach the syntax. I may be tainted by my years of C, though.
Re:Go is moving to GitHub by NateDad on Friday November 14, 2014 @07:07AM (#8606727)
What?! If anything, your use of C should make Go's syntax really familiar (aside from putting the name before the type, which doesn't take long to get used to). It's exactly like any other C-like imperative language. C, C++, Java, C#, even Javascript. Those are pretty traditional langauges. Haskell is not what I think most people would call a "traditional language".

What exactly is your problem with the syntax?

Re:Go is moving to GitHub by yarou on Friday November 14, 2014 @05:31PM (#8609906)
My point about Haskell was not to say that it was more intuitive for imperative programmers, rather, it was to demonstrate a syntactic sugar construct that eases programmers in. Because Go's syntax is so similar to C, it is confusing because as a coder, I can only context switch a finite amount of times.
Re:Go is moving to GitHub by gorhill on Friday November 14, 2014 @07:04PM (#8610291)
> I just can't stomach the syntax. I may be tainted by my years of C, though.

I can't relate to this.

That's exactly my years of C that makes Go quite attractive to me. The way I see Go is that it allows me to code as close to metal as C, but without the pains of C -- headers, make file/dependencies, memory management, and more.

Re:Go is moving to GitHub by kxo on Saturday November 15, 2014 @08:34PM (#8613195)
> code as close to metal as C

> without ... memory management

Re:Go is moving to GitHub by gorhill on Tuesday November 18, 2014 @09:39AM (#8623989)
Read again. As said "as close to ... but without", I didn't say "close to". If you are unable to make sense of what I wrote, don't blame me for your shortcomings.
Re:Go is moving to GitHub by enneff on Friday November 14, 2014 @06:40AM (#8606667)
You appear to know both Haskell and C, but find Go's syntax hard to deal with? This is one of the weirdest Go complaints I've read, for sure. Syntactically, it's just one of the many Algol/pascal-style imperative languages of the last 40 years. Most people get used to it quickly.

At least it's nice and unambiguous.