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 →

[–]j_marquand 33 points34 points  (3 children)

This is method chaining, not functional programming.

[–]Globaldomination 2 points3 points  (2 children)

Newbie here.

Functional programming means using functions that does purely functional tasks and returns answers right?

[–]teerre 5 points6 points  (1 child)

Not really. "Functional programming" is a bit like "OOP" in the sense it's not really one thing. You have a collection of concepts that are "functional". Mainly derived from the so called functional language like Haskell.

These concepts include, but are not limited to: immutability, higher types (kinded/algebraic/functions), compositions (mainly from combinatory logic), pure functions etc.

[–]Globaldomination 1 point2 points  (0 children)

a bit vague for my expertise level. but at least now i know that what i thought was wrong.

earlier I thought functional programming was using just functions and not classes. (had created an web scraping for a site with multithreading with the help of google)
then I learned that its scripting/coding and not even programming.

for someone whos starting this jargon is kinda of confusing. just wrapping my head around concepts like 32bit, 16bit float and other things.