Live data from Hacker News

Learn You a Haskell for Great Good (2008)

learnyouahaskell.com

91–100 of 123 posts

Re: Learn You a Haskell for Great Good (2008)

#91

I think the current 'definitive' resource for learning Haskell is https://github.com/bitemyapp/learnhaskell , which has well-curated, comprehensive links.

I won't read that one on principle alone. The author (coolsunglasses on HN) runs around all the various forums (, threads, and subreddits) for other languages, trolling other users and making fun of their languages. He's a complete asshole. Besides, Real World Haskell and Learn You a Haskell are both extremely competent books/tutorials.

Re: Learn You a Haskell for Great Good (2008)

#92
post #66

Earlier quoted context omitted.

It's possible to communicate in a casual, conversational, and humorous manner without alienating minorities and delivering insults, and the author chose not to. I think it's unlikely that he was trying to be malicious and is probably just not sensitive to what it's like to be on the receiving end of some of his examples.

Aren't you imputing motives without proof ? While I respect your sensibility, I would have made the same kind of remarks without thinking it would hurt someone. I understand it could, but it wouldn't have been my intent . Also remember that your position is very very US-centric. But I am all for communication : explain your point to the author and propose something else that is as funny as the current text. But sayin…

If we're talking about motives and proof, then The fact that you understand what you said is harmful and you choose to do it anyway is the legal definition of intent.

Re: Learn You a Haskell for Great Good (2008)

#93

What is a good online reference to learn about "Monads" for beginners? Someone posted a reference here on HN sometime ago but I lost it. Edit: The book was enjoyable and a delight to read, but I started struggling to keep up from Chapter 8. as it went into Monoids and Monads, I feel like I need to read other tutorials before coming back to it.

The best explanation I ever had was, "It is just a type class." In other words, don't worry about some deep metaphor. A Monad will have a type constructor, bind and the badly named return. There are laws that say how they'll work. The intuitions can come later.

Re: Learn You a Haskell for Great Good (2008)

#94

What is a good online reference to learn about "Monads" for beginners? Someone posted a reference here on HN sometime ago but I lost it. Edit: The book was enjoyable and a delight to read, but I started struggling to keep up from Chapter 8. as it went into Monoids and Monads, I feel like I need to read other tutorials before coming back to it.

Stephan Boyer teaches about them in a peculiarly pragmatic way. Haskell programmers often abstract application-specific computations into monads and use them as a sort of interface—a functional API.

http://www.stephanboyer.com/post/9/monads-part-1-a-design-pa...

Re: Learn You a Haskell for Great Good (2008)

#95

I really like this book, but I think it may be teaching some bad habits by ignoring performance concerns.

It's not a problem until it's a problem.

That is: At least 90% of code is not CPU-limited. It's fast enough. So, as an initial approach, ignoring performance is fine.

The problem is that, if and when you run into real performance issues, you need to know some tools for dealing with them. If this book doesn't teach you those, well... it's a language introduction. It's not an advanced text. Maybe it would be the better for a warning or two, a paragraph here or there, but performance is (quite properly) not the point for the book.

Re: Learn You a Haskell for Great Good (2008)

#96
post #60

Should I learn oCaml instead ? Looks appealing because companies like Facebook are using it create tools like Flow ( https://github.com/facebook/flow ).

Why do people choose programming languages based upon which big companies are using them? Learn a programming language because it is interesting, not because Facebook uses it.

Because I like getting paid?

If I'm learning a language for my own enjoyment, I'll learn whatever I want. If I'm learning a language to try to develop my career, I'll learn something that people want to pay for.

Re: Learn You a Haskell for Great Good (2008)

#97
post #85
post #61

Earlier quoted context omitted.

I'm not sure if that link is NSFW or not :)

Certainly doesn't help with the perception of the tech industry as a boys club. I mean I know it may have been written in jest but I was personally cringing while reading it and figured it'd be at the very least a little alienating (at worst outright offensive) for any women who'd happen to read it. Maybe I'm being oversensitive, I just know I wouldn't write anything like that.

It certainly wasn't my intention to alienate or offend anyone by posting this link. I do not share his intimate feelings on programming languages but I found it amusing that someone would compare a programming language to an on/off-relationship.

Re: Learn You a Haskell for Great Good (2008)

#98

This book was excellent for helping me learn Haskell, but the gendered language and fat-shaming jokes made me feel very uncomfortable, eg: "You're fat! Lose some weight, fatty!","You're supposedly normal. Pffft, I bet you're ugly!" and "You're a whale, congratulations!", "Sure, we could just type them all out but obviously that's not a solution for gentlemen who demand excellence from their programming languages."

It's a shame this got downvoted in the backlash. Almost everyone has something they'd find offensive if it were put non sequitur in some technical resource they were reading. It's very possible to be lighthearted without being needlessly offensive. Things that the majority would find offensive basically become invisible and unquestioned norms, but when the majority has to consider that other people have touchy topics too, they'd rather just fall back on the invisible norms than consider points of view they simply don't feel like considering. It's telling that you mostly have glib remarks, dismissals, and downvotes instead of any real counterargument.

Re: Learn You a Haskell for Great Good (2008)

#99

I really like this book, but I think it may be teaching some bad habits by ignoring performance concerns.

I was pleasantly surprised recently when I noticed that this book has a discussion of efficient list construction [1]. I know it's a fairly basic idea, but the author brings it up purely for performance reasons. Given the introductory nature of this book I didn't expect that.

[1]: http://learnyouahaskell.com/for-a-few-monads-more

Post reply on HN