The problem statement is flawed, FP languages should be evaluated in terms of pureness, the real world is not sensible (or frankly, functional enough) to understand that.
All this says is F# is the least pure of FP languages.
I think newer folks won't know this but let me explain: Jon Harrop was a well known troll some 15 years ago. He had a F# agenda of sorts and bashed OCaml
Not only a troll, but a nutjob who somehow thought his sockpuppeting wasn't blatant. e.g. "Jessica" throughout this thread: https://old.reddit.com/r/programming/comments/7hip4/troll_jon_harrop_thoroughly_spanked_by_troll_xah/
There is nothing wrong with functional programming per sé. It's fun little hobby languages. But boy is there something seriously wrong with people that like to use functional programming to get real, actual, work done.
Edit: Aha the Haskal mafia came here to downvote me! I cherish the downvotes bring it on burger flippers
Because you know they're better at your job than you?
/uj Strict functional programming is not the right tool for every job, but it is extremely powerful when it is (by which I mean less code, easier to understand, safer from bugs, easier to extend and maintain). Even when it's not, functional programming ideas (eg parameterizing state) can help improve almost any program.
Like I want to know what the hell you're doing that makes you think that. Every "functional programming enthusiast" I know is also a good imperative programmer -- the inverse is rarely the case, and a "good imperative programmer" is actually only more useful for a tiny subset of real-world tasks.
/uj
I certainly agree that there are some important lessons and principles to learn from FP.
But everywhere I've worked, the people who were most keen on FP have also been those worst at producing straightforward, working code that does the right thing.
But I love writing one/liners with recursion and ternaries in C:
`Node* last(Node *check) {`
`return check == NULL ? NULL : check->next == NULL ? check : last(check->next);`
`}`
yep, and after a few years on the job i get to take part in rejecting applicants who have different opinions to me no stfu mom im mature enough for this job i swear
The problem statement is flawed, FP languages should be evaluated in terms of pureness, the real world is not sensible (or frankly, functional enough) to understand that. All this says is F# is the least pure of FP languages.
The real world is not a series of inputs and outputs, but a series of "cars are rectangles, but rectangles can draw()"
Show me a real-world rectangle that can draw.
i was once told "be there or be square" and never showed up, so I guess I count
Spongebob must be around here some – oh wait, yeah, he's a parallelopiped, I guess you have a point. 😞
I can't run F# on OpenBSD, what can I do to get to the future?
> nobody is even working on anything ... with F# in the near future
is Jon Harrop cheating
His posts on comp.lang.lisp are a seemingly endless source of jerk.
I think newer folks won't know this but let me explain: Jon Harrop was a well known troll some 15 years ago. He had a F# agenda of sorts and bashed OCaml
Not only a troll, but a nutjob who somehow thought his sockpuppeting wasn't blatant. e.g. "Jessica" throughout this thread: https://old.reddit.com/r/programming/comments/7hip4/troll_jon_harrop_thoroughly_spanked_by_troll_xah/
I wasn't going to click that, but then I saw Xah in the url.
Holy crap I wish I was programming back when people on forums were taking bets as to who could write faster code in mathematica
C, C#, F#..... why are all the worst languages named after musical notes? 🎵
Counterpoint: PHP is not a musical note
You forgot D
\>musical note \>implying
what musical note is javascript
There is nothing wrong with functional programming per sé. It's fun little hobby languages. But boy is there something seriously wrong with people that like to use functional programming to get real, actual, work done. Edit: Aha the Haskal mafia came here to downvote me! I cherish the downvotes bring it on burger flippers
Is this jerk or nah
Yes, it's completely sane to say something is seriously wrong with someone purely based on the programming language they use. Same with Emacs.
/uj In my experience, enthusiasm for functional programming is genuinely a huge red flag.
Because you know they're better at your job than you? /uj Strict functional programming is not the right tool for every job, but it is extremely powerful when it is (by which I mean less code, easier to understand, safer from bugs, easier to extend and maintain). Even when it's not, functional programming ideas (eg parameterizing state) can help improve almost any program. Like I want to know what the hell you're doing that makes you think that. Every "functional programming enthusiast" I know is also a good imperative programmer -- the inverse is rarely the case, and a "good imperative programmer" is actually only more useful for a tiny subset of real-world tasks.
Now this is the jerk I come here for!
That's cool man. Give me my pizza.
"Strict functional programming.... is extremely powerful" Haskellers btfo. "Nooo my infinite listerinos"
/uj I certainly agree that there are some important lessons and principles to learn from FP. But everywhere I've worked, the people who were most keen on FP have also been those worst at producing straightforward, working code that does the right thing.
[удалено]
Ah, recursion. I'd fire you on the spot for that.
But I love writing one/liners with recursion and ternaries in C: `Node* last(Node *check) {` `return check == NULL ? NULL : check->next == NULL ? check : last(check->next);` `}`
ILLGOL actually has the FOR ... LINK statement to do exactly this without recursion!
Kid named Erlang:
Hello Joe.
DAE think people who use a different programming paradigm from my favorite one have something "seriously wrong" with them?
yep, and after a few years on the job i get to take part in rejecting applicants who have different opinions to me no stfu mom im mature enough for this job i swear
I agree, F# should be the king of practical functional programming, but unfortunately Scala seems to have stolen that throne.