News for hackers. Stuff that matters.
Re:I Love Go; I Hate Go by vertex-four on Tuesday August 02, 2016 @05:00AM (#12208607)
I think that a lot of people who like Go for its channels/coroutines would like one of the BEAM VM languages - Erlang or Elixir - with its OTP. It's a bit more heavyweight, and the community is a bit smaller than Go's, but it works nicely for lots of sorts of problems.

I'd keep using Go for one-off scripts (grab SSH keys from LDAP for sshd, that sort of thing) and system integration stuff, though.

Re:I Love Go; I Hate Go by clessg on Tuesday August 02, 2016 @06:16AM (#12208870)
> the community is a bit smaller than Go's

For now! Phoenix [0] will hopefully help turn the tide.

I switched from Go to Elixir/Phoenix a year ago and I couldn't be happier. I've used a lot of web frameworks over my decade as an engineer, and Phoenix is the first one that has remained fun to use, fast (!), and productive.

Crucially, its community has remained accepting and helpful under Jose's leadership - in contrast to the unfixably toxic Go community.

[0] http://www.phoenixframework.org/

Re:I Love Go; I Hate Go by themihai on Tuesday August 02, 2016 @07:55AM (#12209234)
what about the lack of static typing?
Re:I Love Go; I Hate Go by vertex-four on Tuesday August 02, 2016 @10:38AM (#12210257)
Elixir and Erlang both actually have static typing in the style of Facebook's Flow - type annotations can be added to your functions[0] and there's a tool, Dialyzer[1], which can be run via Mix[2] to type-check your programs.

It's not perfect - among other things, it can't type-check certain things that can and do happen in Erlang/Elixir programs, and won't complain about some errors - but it's better than being purely dynamic at not a whole lot more effort.

[0] http://elixir-lang.org/getting-started/typespecs-and-behavio... [1] http://erlang.org/doc/apps/dialyzer/dialyzer_chapter.html [2] https://github.com/jeremyjh/dialyxir

Re:I Love Go; I Hate Go by im_down_w_otp on Tuesday August 02, 2016 @12:13PM (#12210979)
With the recent addition of better semantics for Map type specs combined with the dialyzer flags Wunderspecs, Woverspecs, and Wspecdiffs there's nothing I've found that Dialyzer misses that I'd expect a type-checker to be able to find and warn me about.