News for hackers. Stuff that matters.
Re:Why I’m not leaving Python for Go by flyinRyan on Monday September 24, 2012 @07:32AM (#4564090)
>Problem is that you then have to explain monads to average programmers who'll be using the language.

No you don't, this is exactly what you don't need to do. Do we explain the finer points of stream implementation to would-be C++ programmers? No, when they need to do something non-standard with a stream/monad, that's the time to talk about them. For the majority of programmers it's just "when you need to write to a file you do it like this".

Re:Why I’m not leaving Python for Go by morphyn on Monday September 24, 2012 @09:50AM (#4564629)
The Either type described in the first comment is also a Monad. They are more important in Haskell than just "when you need to write to a file..." and I don't think you can totally grasp the error handling method without understanding them.
Re:Why I’m not leaving Python for Go by flyinRyan on Monday September 24, 2012 @10:47AM (#4564918)
I couldn't disagree more. The Either type may have a Monad interface, but it's a Sum type and languages that don't have thousands of Monad tutorials also have Sum types. There's no need to explain Monad theory to someone just to explain Sum types or even why chaining do expressions doesn't do unnecessary computations in the face of errors. Just show them the code for join and >> and they'll see why it works. No need to bring up Monads.
Re:Why I’m not leaving Python for Go by Evbn on Monday September 24, 2012 @11:19PM (#4568379)
I don't know what a thread is, but I can still use Executors in Java.