I’ve seen a couple posts in the top in the last 6 hours feed, and it seems like people are really up in arms about this functional programming stuff. Not really sure what it even is.

It looks like it’s people writing bad programming or something? Like a lot of extra stuff that is not necessary?

EDIT: sorry everyone, I’m not a programmer and I don’t know to much other than a little java and python. I guess I should have posted this in Explain Like I’m Five.

  • dfyx@lemmy.helios42.de
    link
    fedilink
    arrow-up
    2
    ·
    7 days ago

    If you made it through that lengthy post and are still interested, let me add that many concepts from functional programming languages have made it into other languages over the years. Personally, I’m most familiar with C# which has functions that take other functions as parameters, lambda functions (functions without a name that you can just define directly where you use them as a parameter), simple list operations that take functions (filtering, sorting, transforming…) and to some extent pattern matching. From what I’ve heard, newer versions of Java have much of that as well and some of those features have even made it into C++ (from C++11 onwards) though in that case the syntax is a bit hard to read.