other-languages

here be heresies and things we have to use for work
lewix 2016-07-04T17:55:02.000054Z

seancorfield: thanks for referring me to the channel

lewix 2016-07-04T17:55:13.000055Z

anyone went from golang to clojure? pros/cons?

seancorfield 2016-07-04T18:08:06.000056Z

As part of my attempts to "learn a new language every year", I tackled Go a couple of years back and I was very disappointed with it.

seancorfield 2016-07-04T18:08:24.000057Z

When I learned Rust last year, that was what I had hoped Go might be.

seancorfield 2016-07-04T18:09:14.000058Z

My friend @markmandel likes Go and he does Clojure as well so he might give his insight on comparing the two...

seancorfield 2016-07-04T18:10:01.000059Z

(he’s offline today… 4th of July and all… but I sent him a link to this message to see if he wants to join in the discussion at some point)

seancorfield 2016-07-04T18:10:22.000060Z

He’s a Developer Advocate for Google so he’s very pro-Go 🙂

lewix 2016-07-04T18:32:37.000062Z

seancorfield: awesome. I can't wait for his opinion

sveri 2016-07-04T20:16:33.000064Z

I made a performance comparison between phoenix / sailsjs / spring boot: http://tales.sveri.de/posts/2016-07-04-phoenix-spring-sails.html if anyone is interested

roberto 2016-07-04T20:34:07.000068Z

@sveri they are not doing the same thing

roberto 2016-07-04T20:34:26.000069Z

the controller in sails is only doing a lookup, while the spring one is doing a lookup plus persisting to the database

markmandel 2016-07-04T20:34:51.000070Z

Go is my go to "work in a team, and get s* done language" - requires very little cognitive overhead, compiles to a binary, so is super easy to deploy, and comes with a great standard library

markmandel 2016-07-04T20:35:06.000071Z

It's not without its foibles, but it does excel in those areas

roberto 2016-07-04T20:36:24.000072Z

the phoenix code is also only doing a lookup. Can’t really compare spring with those two if they are doing additional things.

roberto 2016-07-04T20:36:42.000073Z

you might get some heat for that

sveri 2016-07-04T20:37:38.000074Z

@roberto: Hm, thats true, the spring controller can persist, but in my test I was only running the lookup, maybe I should make that more clear?

sveri 2016-07-04T20:41:44.000075Z

I updated the post, thanks for the pointer

cfleming 2016-07-04T22:33:21.000077Z

@markmandel: Yeah, bbloom liked Go overall I think, despite its issues.

cfleming 2016-07-04T22:33:50.000078Z

The dev tooling is nice, I’m a huge fan of the auto formatter.

markmandel 2016-07-04T22:55:00.000080Z

Having one true way to format, solves allot of arguments

montanonic 2016-07-04T23:00:08.000082Z

Go the language looks horrid to me, but Go the platform, tooling, and the One True Way seems appealing. I've been curious to try it out for sake of that, and to put my naive impressions of the language to the test. Alas, time is limited, and so I have to focus on languages I believe will help me achieve my mid-term goals, of which Go doesn't seem like it'd fit the bill (for now).

cfleming 2016-07-04T23:01:50.000085Z

I would use Go if I were working on a problem it seemed like a good solution for, basically. Either that or Erlang - Erlang is probably more interesting, and Go is probably more pragmatic. I have no problem with pragmatic when I need to get work done.

montanonic 2016-07-04T23:04:00.000087Z

Yeah, that was the other thing: if I had the chance to work on a heavily distributed project I'd probably opt for Elixir/Erlang over Go, if given the choice. I have heard of at least one really good Erlanger moving to Go for sake of the platform/pragmatism though. I believe they have a Go library that attempts to capture aspects of the Erlang Way.