News for hackers. Stuff that matters.
Re:Everyday hassles in Go by friendly_chap on Tuesday December 30, 2014 @07:59AM (#8814377)
Author here. I think that is a very valid point. However, a lot of features I mentioned are present in other imperative languages, like Rust. The Go authors however picked other solutions I consider inferior, hence the article.
Re:Everyday hassles in Go by NateDad on Tuesday December 30, 2014 @08:25AM (#8814467)
It seems like Rust is what Go would become of you added all the Haskell-ness to it. Which is fine, but we already have Rust. So... Maybe we should be asking what Rust is missing from Go? Or if Rust is good enough, just use that.
Re:Everyday hassles in Go by lmm on Tuesday December 30, 2014 @09:35AM (#8814701)
Rust is missing garbage collection (which is by design, but IMO manual memory management is the wrong hair shirt to wear), and maturity.

What I want is OCaml without people complaining about concurrency (which I suspect is mostly FUD - how many people who choose go "for performance" actually profile their programs? I get the sense there is this group of people who think any high-level language is inherently as slow as Python). Or Haskell without laziness (maybe Idris will eventually become this?), and perhaps with a lower-friction approach to I/O. Or Scala with native compilation (again I think complaints about this are probably mostly FUD, but if nothing else the JVM startup latency is real). Or any of these three getting the hype that Go gets, tbh.

Re:Everyday hassles in Go by jbooth on Tuesday December 30, 2014 @10:03AM (#8814830)
So, uh, what are you actually after? Just use Scala if that's what you want. If you can't be bothered to manage memory in rust, then it seems hard to believe that native compilation makes a difference for you.

Is it all just about the hype? Write code, ship products.

Re:Everyday hassles in Go by lmm on Tuesday December 30, 2014 @10:08AM (#8814854)
As I said, the JVM startup latency is a real issue. I'd like to be able to write little command-line utilities in Scala (or a Scala-like language) and not have to wait a second when I run them.

But yeah, I'm writing and shipping in Scala, and life is good, I shouldn't care about people hyping what I don't like.

Re:Everyday hassles in Go by friendly_chap on Tuesday December 30, 2014 @08:39AM (#8814521)
Well Rust became production ready well after Go and the low level focus it has doesn't match my problem domain. I have the luxury of not caring about the constraint of a single consumer box - hacking mostly on backend stuff living in the cloud, so all those pointer types for example would only get in my way.
Re:Everyday hassles in Go by iends on Tuesday December 30, 2014 @09:21AM (#8814650)
What about Elixir? Lack of static typing?
Re:Everyday hassles in Go by friendly_chap on Tuesday December 30, 2014 @11:23AM (#8815197)
Yes, I used to ignore anything non-static, nowadays I am reconsidering this, for me untyped languages are all the same (they provide on compile time type checks), give or take syntactic sugars.
Re:Everyday hassles in Go by hahainternet on Tuesday December 30, 2014 @09:31AM (#8814681)
Your article is unbelievably arrogant. You should have been honest, not dishonest. These aren't everyday hassles, these are hassles you have selected to promote Haskell.
Re:Everyday hassles in Go by friendly_chap on Tuesday December 30, 2014 @11:21AM (#8815188)
I write Go exclusively during my day job - these are indeed chores I encounter daily.

I could and probably will blog about problems with the Haskell as well - nothing is perfect.

Re:Everyday hassles in Go by NateDad on Tuesday December 30, 2014 @01:21PM (#8815833)
FWIW I thought the article was fine, when though I love go. I do think it reads like you wish you could use Rust or something. It is nice to hear about hassles from someone who has actually used the language for a change. Not every language is for everyone, that's OK. Obviously, most people who love the Haskell style of type classes and pattern matching are going to find much packing in go. That's OK.