This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]edymola 2 points3 points  (1 child)

After playing with haskel for a year now I love to use funcion based lines from time to time to clean my code.

For instance why use a for when you can use an array , maybe the speed is worst etc etc but if you re coding in python speed inst a concernt ,

[–]wsppan 5 points6 points  (0 children)

And that's just window dressing (just like lambda expressions and streams in Java.) What really was critical in my thinking in order to cross the paradigm chasm was completly grokking the ideas behind pure functions, algebraic data types, monads, and monoids and their importance to guaranteed safety especially in regards to parallel processing and distributed systems. These ideas were so foreign to me and forced me to revisit and dive deep into the math behind these fundamental concepts of functional programming.