News for hackers. Stuff that matters.
Re:Learn Physics with Functional Programming by 7thaccount on Tuesday September 05, 2023 @09:07PM (#37400106)
No, but a good assumption. I read several books and dozens of tutorials including parts of the 1000 page one that couple did like 6 years ago. Function application and so on definitely came before IO and the likes. It all just seemed like enormous mental effort for the simplest of things. That was my experience at least. It's possible I just don't have the best kind of brain for FP.

Your mileage will vary of course. This was just my experience. I know Haskell is powerful, but it wasn't right for me. I haven't met a scripting language I didn't like yet though, so perhaps my neurons are just wired for that now. I do enjoy the random APL or Forth problem though and I'm decent at SQL after using it often for a decade.

Re:Learn Physics with Functional Programming by Tainnor on Wednesday September 06, 2023 @06:27PM (#37412267)
> parts of the 1000 page one that couple did like 6 years ago.

IMHO that book is bloated and overrated. Maybe it works for some people, but I find the explanations really weird and some of the exercises are just useless busywork without a point.

There are good parts in there (they do try to teach you how to properly think about types which is nice) but I really feel like you don't need to read 1000 pages to learn basic Haskell.

Re:Learn Physics with Functional Programming by 7thaccount on Thursday September 07, 2023 @01:41PM (#37422679)
Fine. I also read Learn You a Haskell, the O'Reilly one and a myriad of other sources. In comparison, Python was a cake walk.
Re:Learn Physics with Functional Programming by Tainnor on Thursday September 07, 2023 @03:38PM (#37424478)
Oh I agree that Haskell is complicated to learn, I just happen to think that that book kinda makes it even worse.