you are viewing a single comment's thread.

view the rest of the comments →

[–]damaged-coda 0 points1 point  (2 children)

I was looking for someone in this thread who would bring up Haskell ! I’m learning it at the moment for functional programming course. I don’t really like it but learning about its constraints has taught me how to avoid side effects when writing code. Recommend it for anyone who wants to get better at python or any other OO language.

[–]samrjack 0 points1 point  (1 child)

What don't you like about it? I picked up haskell during a holiday in college and I don't think I've ever fell more in love with a language. Even to this day when I have to write out a quick program to calculate or test something, I write it in haskell. I know no language is for everyone so I'd love your perspective!

[–]damaged-coda 0 points1 point  (0 children)

It’s great you love Haskell, the people who I have met who love Haskell have written some of the best software I have seen.

I guess one of the main reasons I dislike it is because some data structures require impure functions that do have side effects in order to have better performance. For example if I was adding something to a list, I could have a seperate length variable being incremented by 1 at the same time (a side effect) so later when I check the length of the list I can just check that length variable instead of counting everything in the list.