this post was submitted on 27 Mar 2025
33 points (100.0% liked)

Out of the loop

12388 readers
9 users here now

A community that helps people stay up to date with things going on.

founded 2 years ago
MODERATORS
33
submitted 4 weeks ago* (last edited 4 weeks ago) by [email protected] to c/[email protected]
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 4 weeks ago (1 children)

Functional programming means that you structure your code in a manner of functions that take arguments and return values based on the functions logic.

This is in sharp contrast to procedural programming which shares a global state to access and mutate.