Review on 2 well-known Haskell textbooks

Almost every Haskell beginner reads the following 2 books:

<Learn you a Haskell for great good>

<Real World Haskell>

I took some time climbing up along this steep learning curve, and finally got a bird's view on Haskell, by the above books.

"The better your C++ skill is, the harder you feel learning Haskell". True, but only before you find the correct way to learn it - Brush up your Maths thoughts and inspect Haskell using this mathematical microscope. Haskell compiler is a theorem proofer, so your haskell code is purely maths equations - only Haskell is 100% pure. 

Lazyness? You will need calculate Equation A only when you need it. Monad? operations are a group. Or, the best quote on Monad ever, from Real World Haskell: Monads are programmable semicolons. When you program Haskell, you are writing equations actually.

OK, back to the books. LYHFGG is the best book for beginners. Author is a young student and he possesses excellent capability of elaboration. All concepts are explained in verbose. It fills every gap in your mind. If you read through it carefully, you gets its ideas. Though, LYHFGG focuses on language itself heavily, but surprisingly there's no section on Monad Transform, or no real world applications. After LYHFGG, you will soon move on to RWH naturally.

Wording of RWH is not as pleasant as the former, but it contains quite a lot useful information. It has bette Monad chapters than LYHFGG. The best of it is that RWH focuses on real world application, which is demanded. You can't grasp RWH by simply reading it. You have to get back to it frequently while you code, until you don't need it anymore :)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值