Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Learning F#

Name: Anonymous 2020-03-08 9:20

How stupid does that sound?

And how one can make a living of functional programming anyway?
Elixir/Erlang is not for cis-heteros.
Lisp is a meme.
Haskell is for academics.
What's left? OCaml and SML? F# is in the ML family too, but it's a Micro$oft language

Name: Anonymous 2020-03-08 9:22

Name: Anonymous 2020-03-08 18:56

Ikr, I can make a living and all my programs are non-functional.

Name: Anonymous 2020-03-08 20:32

apl and excel pay well

Name: Anonymous 2020-03-08 20:39

I program exclusively using lambdas.

Name: Anonymous 2020-03-08 22:03

>>4
I don't know if you can land a job in APL programming without a PhD in mathematics.
Excel and F#, why not?

Name: Anonymous 2020-03-10 7:37

JVM-based funlangs like Clojure and Scala are probably the most employable right now

Name: Anonymous 2020-03-10 8:17

Java makes you fight with $8/h pajeets though.

Name: Anonymous 2020-03-10 8:46

>>8
well, F# is on .NET so you must fight the C# pajeets as well

Name: Anonymous 2020-03-10 12:55

I am a C# pajeet.

Name: Anonymous 2020-03-10 13:56

>>9,10
Aren't C# pajeets better pajeets than Java pajeets?

Name: Anonymous 2020-03-10 14:56

>>11
Yes, but only because Java pajeets are literally the worst people in tech.

Name: Anonymous 2020-03-12 21:35

>>1 JS is functional. Fight me.

Name: Anonymous 2020-03-12 22:43

>>13
Where da TCO at?

Name: Anonymous 2020-03-12 23:06

>>14
[Barking]

Name: Anonymous 2020-03-13 4:32

Name: Anonymous 2020-03-13 12:16

>>13
What's the deal with Javascript being a functional programming language anyway? It's not functional and it's not a programming language.

Name: Anonymous 2020-03-13 13:56

>>17
because it has first-class functions

Name: Anonymous 2020-03-13 19:46

>>18
C89 has first-class functions too.

Name: Anonymous 2020-03-13 21:24

>>19
C89 is a functional programming language too.

Name: Anonymous 2020-03-14 3:42

Woah, didn't think anyone else cared about F#. Very nice language and it can use anything from .NET land, though not all types interop nicely. Really tough convincing management to allow projects to be written in it, but it's been a godsend for our codebase because of DUs.

Name: Anonymous 2020-03-14 7:33

>>21
Really tough convincing management to allow projects to be written in it
I believe you. Job offers are scarce. The language itself seems very nice.

Name: Anonymous 2020-03-14 12:23

Imagine being mogged by unemployed Prolog programmers.

Name: Anonymous 2020-03-15 1:07

C89, more like GAY 89

Name: Anonymous 2020-03-23 13:15

>>14
Ok now that I'm not drunk: the hilarious thing is that in JS there are all the libraries that allow you to do "functional" programming, and you'll see these beard-strokers insisting on never putting any state into a function and doing everything "the functional way" - all for nothing, because there's no TCO. They're aping an optimization they saw in a cooler language. It's the largest example of cargo-cult programming I have ever seen - by, in my own experience at least, a significant (and very vocal) minority.

Name: Anonymous 2020-03-24 7:19

>>25
Do... do you think the point of functional programming is to enable specific compiler optimisations?

Name: Anonymous 2020-03-24 8:35

>>26
What if programmers are a form of compiler?

Name: Anonymous 2020-03-24 17:25

>>26
Well no, and the whole TCO thing arguably gets hammered on more than it should (here anyway), but a major benefit of dropping all state (which takes intellectual effort, whether or not one will admit it) is the capacity to write performant, efficient code, and that is hobbled by the lack of TCO.

What other promises does stateless programming make? Well, for one, parallelism. That too is poorly supported, or completely unsupported, in most JS environments. What else? Pure functions - unless you have to deal with state, which means that if you are in a browser, and cache fetched data on one side to display in the user interface on the other, you must maintain state, meaning huge swaths of JS code are inappropriate for a functional programming mindset. And you should see the acrobatics these folks go through to make it appear as though functional is a good choice for this world.

Functional programming is interesting, and I think it's cool, but technically and habitually, JavaScript is far from the ideal place to make use of it.

Name: Anonymous 2020-03-24 17:35

Functional programming is a joke. Haskell and Rust programmers just build abstractions complex enough that they don't understand that they're mutating state anymore.

It's impossible to make a functional game for it is nothing but displaying and mutating the world state.

Name: Anonymous 2020-03-24 18:27

>>29
This is exactly the problem. Functional programming people keep selling "state is inconvenient" and I'm absolutely there with them. Programming in a vacuum with no external state is so much easier! But I've never even heard the question asked, "What do you do to handle state?" And God forbid the environment should change, necessitating a mutation of state! State exists, and if you want to interact with the real world you need to deal with it. In a fight between your ideal and reality, bet heavily on reality.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List