News for hackers. Stuff that matters.
Re:Impressions of Go by TylerE on Tuesday July 23, 2013 @12:09PM (#6090914)
Kind of a shame that the Rust crew doesn't seem to "get it" the way the Go team does. The Rust stdlib is TERRIBLE. Even basic stuff like file IO isn't implemented sanely. A shame as the language itself is pretty good, other than the idiotic semi-colon decision.
Re:Impressions of Go by pcwalton on Tuesday July 23, 2013 @12:11PM (#6090930)
It's a work in progress. We have not hit 1.0 yet.

Regarding the semicolon rules, you won't like this observation, but in my 3 years of writing Rust the semicolon rule has literally has never led to a single bug.

Re:Impressions of Go by marshray on Tuesday July 23, 2013 @01:59PM (#6091740)
I get the feeling that your knowledge of the rules is not necessarily representative of typical post-1.0 developers. :-)

However, I don't recall it being a problem in my experimentation with Rust either.

Re:Impressions of Go by TylerE on Tuesday July 23, 2013 @02:46PM (#6092089)
In my case, it's not a problem with understanding them, it's a burning desire that they not exist.
Re:Impressions of Go by klibertp on Tuesday July 23, 2013 @04:14PM (#6092603)
You realize that it's a matter of aesthetics at best? You could set your editor of choice to substitute character ; with <pink elephant> when displaying code and back when saving it to disk. Have you tried this approach? (It's not an original idea - there is a plugin for Emacs which does exactly this for CamelCase - it displays parts of camel cased words as separate words. Helpful if you have looong camel cased name and are irritated because <back by word> and <forward by word> doesn't take you where you should be)
Re:Impressions of Go by TylerE on Tuesday July 23, 2013 @04:38PM (#6092738)
Not just aesthetics, it's also a matter of ergonomics. ; is not the most comfortable thing to type, requiring either wrist rotation or an awkwardly bent pinky.
Re:Impressions of Go by marshray on Tuesday July 23, 2013 @08:12PM (#6093748)
That's odd, I consider ';' as one of the easiest things to type. What kind of keyboard are you on?

I'm a C++ developer and go so far as to make it harder. I map ; to <esc> in vim, and enter the actual char with a second ; (from from normal mode).

Re:Impressions of Go by kluge on Wednesday July 24, 2013 @05:06AM (#6095129)
On the US keyboard it probably is. On Finnish keyboard it's where < is on the US one, i.e. Shift-comma.
Re:Impressions of Go by marshray on Wednesday July 24, 2013 @03:12PM (#6098381)
Yeah, I always felt a tiny bit sorry for non-US developers, especially using languages like Perl that use $ all over the place.
Re:Impressions of Go by shrughes on Tuesday July 23, 2013 @05:16PM (#6092951)
Dvorak does it better -- underscore is on the home row.
Re:Impressions of Go by klibertp on Tuesday July 23, 2013 @12:47PM (#6091201)
> idiotic semi-colon decision

It's surprisingly logical and convenient. Everytime I `return null` (or just `null`) in CoffeeScript I wonder if Rust's way isn't beter.

Re:Impressions of Go by dom96 on Tuesday July 23, 2013 @12:15PM (#6090949)
The language itself is still evolving, I'm sure the stdlib is currently not a priority for them and that it will improve.

However, I hate semi colons so I agree with you there. You should check out the nimrod programming language.

Re:Impressions of Go by TylerE on Tuesday July 23, 2013 @12:51PM (#6091226)
The problem is that historically changing the stdlib in a significant way rarely happens once a language has moved out of the lab, do to the sheer amount of breakage that would ensue.
Re:Impressions of Go by pcwalton on Tuesday July 23, 2013 @12:54PM (#6091248)
That is not a worry for Rust. At this stage we make breaking changes to the standard library nearly every day. Sometimes on an hourly basis.

Revamping I/O is very high on the list. Brian Anderson et al are working on it as we speak.