Functional programming is a lie
-
-
Hartator spake:
Quote:
Good programers will produce good code anyway. Bad programers will produce unreadable code anyway. Trying to make bad programmers better by imposing to everyone some magic programming paradigm is a mirage. It never worked and is the biggest lie in our industry.
Perhaps DNA sequencing can locate the "good programmer" genes, and then we can cull the defective, putting them on a management/marketing fast-track ?
«Beauty is in the eye of the beholder, and it may be necessary from time to time to give a stupid or misinformed beholder a black eye.» Miss Piggy
-
Hartator wrote:
The absence of guidelines on this particular topic doesn’t help to understand where to draw the line. I think this absence just show how clueless we can be about functional programming.
Who told him to replace his brain by a set of guide lines?
-
The author evidently doesn't understand functional programming, so decides to slag it off. IO is a monad. Monads were introduced by Haskell to allow a program to remain purely functional while actually things in the real world. Effectively, in this case, the state of the real world becomes a hidden parameter of the function.
"If you don't fail at least 90 percent of the time, you're not aiming high enough." Alan Kay.
-
Lies are stateful. They occur at all levels of state. Therefore, functional programming is NOT a lie. ;) Marc
Latest Article - Create a Dockerized Python Fiddle Web App Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802
-
Hartator spake:
Quote:
Good programers will produce good code anyway. Bad programers will produce unreadable code anyway. Trying to make bad programmers better by imposing to everyone some magic programming paradigm is a mirage. It never worked and is the biggest lie in our industry.
Perhaps DNA sequencing can locate the "good programmer" genes, and then we can cull the defective, putting them on a management/marketing fast-track ?
«Beauty is in the eye of the beholder, and it may be necessary from time to time to give a stupid or misinformed beholder a black eye.» Miss Piggy
-
Lies are stateful. They occur at all levels of state. Therefore, functional programming is NOT a lie. ;) Marc
Latest Article - Create a Dockerized Python Fiddle Web App Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802
I C WHAT U DID THERE!
#SupportHeForShe Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun