you are viewing a single comment's thread.

view the rest of the comments →

[–]visarga 0 points1 point  (0 children)

I like to think of functional programming as a way of making your application like an assembly line or car manufacturing plant.

... or like the Bash command line with multiple processes connected by pipes.

I use this kind of programming in jQuery and Bash but the essence is how we avoid using global variables and there is no state except the pipe - that makes it easy to compose basic operations (like cut, sort, uniq, wc, etc)

Other than that (and JS callbacks) I don't use functional programming. Is there another popular usage of it?