News for hackers. Stuff that matters.
Re:"100% of our production system is now running Go" by jebblue on Friday August 31, 2012 @12:44AM (#4458292)
Edit: I just posted 3 minutes ago and I'm already in gray text. Wow.

We search with Google, run our phones with Google, run Google's browser, now they want us to write all our code in Google's language. Why Google? What's wrong with Java? Other than the fact that Oracle owns it, I miss Sun. Scott McNealy tried to make the technology world better. Scott, Gosling. Google...why should everything we do all day and night be about Google?

http://en.wikipedia.org/wiki/Go_(programming_language)

>> The syntax of Go is broadly similar to that of C

C, seriously? C??!? Why? Why would I want to go back to ... C?

>> Of features found in C++ or Java, Go does not include type inheritance, generic programming, assertions, method overloading, or pointer arithmetic.

And that is a good thing or a bad thing or what?

>> Go allows a programmer to write functions that can operate on inputs of arbitrary type, provided that the type implements the functions defined by a given interface.

Huh? Oh I can pass interface references, ok.

>> A Go interface is best described as a set of methods, each identified by a name and signature.

That sounds like Microsoft's crappy COM from the 1990's.

The code sample on that page shows there are no braces in the if evaluation statements. A wise man, Peter Van Der Linden formerly of Sun's Compiler Group and author of Deep C Secrets wrote about using more braces if needed as explicitness is always better. I agree with that.

At this point, I think I'd rather program in Groovy or even go to JavaScript if I had to, than use Go.

Oh...the language name sux.

Tip, buy Oracle and fix Java or by Java rights from them and fix it, then programming in a language owned by Google when you own so much of our lives now wouldn't be so bad.

PS How does Guido Van Rossom feel about Go?

Re:"100% of our production system is now running Go" by brianobush on Friday August 31, 2012 @02:09AM (#4458506)
>> C, seriously? C??!?

For those, like myself, that like C and do systems programming. Really never understood why people dislike or fear C so much. It is the foundation for so many systems and libraries.

Re:"100% of our production system is now running Go" by jessemc on Friday August 31, 2012 @03:36AM (#4458717)
The main problem people have with C syntax is that it's 'old' and 'old' things are bad because new things are better. We're an industry built on fashions. Largely the outcome of the massive success programmers can have without any formal education and so just get by knowing the "best" way to do things instead of understanding why.
Re:"100% of our production system is now running Go" by numeromancer on Friday August 31, 2012 @02:35PM (#4461039)
There are two kinds of fools: the first kind says “it is old, and therefore it is good”; the second kind says “it is new, and therefore it is better.”
Re:"100% of our production system is now running Go" by billwashere on Friday August 31, 2012 @08:53AM (#4459432)
>>What's wrong with Java? Everything is wrong with Java yet the JVM is an amazing feat. Java makes doing the simplest things ten times more convoluted. If you like the JVM then http://code.google.com/p/jgo/

>> The code sample on that page shows there are no braces in the if evaluation statements.

This is just Go's style but look you can still use braces. http://play.golang.org/p/_j7r6GB-ZN

Re:"100% of our production system is now running Go" by vorg on Friday August 31, 2012 @03:27AM (#4458696)
> At this point, I think I'd rather program in Groovy or even go to JavaScript if I had to, than use Go. Oh...the language name sux.

Which language name were you talking about?

Re:"100% of our production system is now running Go" by batista on Friday August 31, 2012 @02:00AM (#4458484)
>We search with Google, run our phones with Google, run Google's browser, now they want us to write all our code in Google's language.

Which is also open source and has a community behind it.

(Plus, you can search with Bing, run an iPhone, and run Safari/Firefox/IE)

>Why Google? What's wrong with Java?

You mean besides the stagnation (no closures? no type inference? no functional goodness? It's 2012 already), the enterprisey vibe and the lawsuits?

>>>The syntax of Go is broadly similar to that of C C, seriously? C??!? Why? Why would I want to go back to ... C?

They don't ask you to go back to C. The SYNTAX is similar. Which is also true for Java.

That said, from reading the rant, you don't seem like the type that ever was in C in the first place, so it wont be "going back" for you.

>>> Of features found in C++ or Java, Go does not include type inheritance, generic programming, assertions, method overloading, or pointer arithmetic.

And that is a good thing or a bad thing or what?

That is what it is. Languages have different features, and it's not a spec war.

Java doesn't have tons of features C++ has (e.g operator overloading, pointer arithmetic, hey, even closures, as of the latest standard). But you don't seem to be the type that wants to go to C++, right? So why the double standard?

>>> A Go interface is best described as a set of methods, each identified by a name and signature.

That sounds like Microsoft's crappy COM from the 1990's.

Yes, I can see how you are qualified to make this kind of comparisons: "Interface of methods, with name and signature. Ah, just like COM!"

>The code sample on that page shows there are no braces in the if evaluation statements. A wise man, Peter Van Der Linden formerly of Sun's Compiler Group and author of Deep C Secrets wrote about using more braces if needed as explicitness is always better. I agree with that.

Good for you. You missed the "if needed" part.

>Oh...the language name sux.

And Rob Pike pissed on your cornflakes.

>PS How does Guido Van Rossom feel about Go?

Why should we care?

Re:"100% of our production system is now running Go" by Evbn on Friday August 31, 2012 @01:40AM (#4458432)
Do you hate C syntax or love C syntax? Make up your mind.