Functional programing


Raze: The Rakuen Zero's Guardian!
May 22, 2018
Reaction score
First Language
Portuguese - Br
Primarily Uses
Hi, again people!
Well, I don't know if this is the right place since I want only to have a talk about other perspectives in this case.
What do you think about functional programming?
I have read a lot about that, seems to have some interesting points.
But I'm not sure if I want to code in this way.
Sometimes I think it's cool not to change an original array or a function to be immutable.
But sometimes I think it's kinda boring code in this way of thinking.

So, what you think about that? Do you like it? Why?

Do you don't like it? Why?
Or, what are your thoughts?

I just wanna know the opinions of other programmers besides the articles that I read explaining this subject.


Self-proclaimed jack of all trades
Mar 16, 2012
Reaction score
First Language
Primarily Uses
I don't do functional programming (and by this, I mean writing in actual programming language that works like functional programming such as Haskell), so I have no strong opinion on it, however, the closest functional programming I do is SQL, which order of the execution can be in anything, but it isn't exactly functional programming AFAIK.

Although, based on the definition of functional programming, I personally do it on some occasions, like my Grid Battle System Module. It is basically a collection of functions to calculate position based on input. It does not mutate anything. Just a set of functions. Boring? Nah, not really. Its just something that you have to do because of the requirement or simply the way you think. For me, it is a bit of both.


Oct 20, 2015
Reaction score
First Language
Primarily Uses
functional programming appears as a derivation of subroutine programming: each *function* is a closed process on it's own, that unlike a subroutine it always returns a value.
now, depending on the value you want returned, and the code you're running, your functions may vary in structure, but you can't have a function without knowing the structure for a subroutine (which is, a self-contained block within a larger structure), and you can't have a function if the language doesn't *have* a definition for it.
all programming languages that are not machine code are largely the same: they all have data structures (variable, array, hash, table, etc), control structures (loops and conditionals), and procedures (routines, or functions). So, even if you weren't to use functions, already from the get go and following one of the axioms of programming, you must simplify any repetition into it's own structure, which are procedures. IF on top of that you want to make everything return a value and use those values to drive your programs, that's another level of complexity..... but you can't have that without the simplification inherent to programming, period.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

What do you do when you're your family's resident computer 'expert'...but you are anything but a computer expert?
I wanna be the very best, like no one ever was. To make a game is my real test. To play it is my cause.
6.5 million beers are in need for rescue. I don't drink beer too much, but my Czech heart is sinking. It's just a pity that they priced it so high. At this price nobody is interested.
I couldn't have Taco Bell, so I grabbed a giant piece of strawberry cheesecake instead.
Guys one of our Animal Crossing Villagers (Sherb) just told us that he hoped that the villager who was having her birthday had as memorable of a birthday as his sixth birthday. Which was "the one where the clown went into our house and never came back" and that "his mother says she still sometimes hears the honking in the walls".

Forum statistics

Latest member