I’d love to hear more about it. I’m a new grad who’s done a bunch of internships using functional programming languages but didn’t find a new grad position that does
I’ve introduced Clojure to my employer (very large gaming company), so I get to work with it a good amount. Some folks are using Scala on another team, too. Most folks are using Java or Go. Bringing FP to a company is tough, unless you’re already senior and have a good amount of push.
I think a lot of the more senior devs who want FP have spent years writing OOP and procedural code. They did their time, so to speak. As a new grad coming in, you’ll need to have reasonable expectations here. You’ll likely need to do your time.
I use Haskell at work. At my current job it’s my teams primary language, and almost all code we write is in Haskell. I’ve been using Haskell at work for years now, but more often as a secondary or tertiary language along side others.
Haskell, and FP generally, work well for everyday industrial programming. In my experience I’ve never found there to be an issue that was a dealbreaker- although there are tradeoffs.
That said, whenever I’ve looked for work I’ve always looked at non-FP roles in addition to FP roles because there are just fewer FP jobs out there.
We have a “legacy” application written in Clojure we are migrating to Spring Boot (in Java).
That’s too bad. Must have been nice while it lasted
I was hired as part of the people to migrate away from it lol. I don’t like it but that’s mostly because I don’t know Clojure well and the syntax is different enough to make it confusing to follow. I’ve tried to learn it but haven’t dedicated the time to give it a proper shot.
I’m afraid something similar is going to happen at my place of work. A lot of the top brass that was pro functional languages left during our rounds of layoffs, so I’m concerned that the ones that are left are going to decide that Java is better (easier to hire for).
Yes - data science with R. R doesn’t have to be functional, but it is fairly idiomatic.
Android development has transitioned to Kotlin. In Android it’s not 100% functional, but you could do most of your work that way if you choose to.
Almost exclusively. Was doing Scala for 5+ years, followed by F# now for the past 5 years. But im also doing React and sometimes node.js etc when needed.
I really love FP, although i tend to write more pragmatic code, and follow the principle of “functional core, imperative shell” rather than using imo overly complicated free monads and the likes.
I have written a bunch of Clojure in previous positions. But it has undergone the same fate that almost all functional code bases I have knowledge of (in corporate product settings): Colleagues have hard times getting into the functional mindset, and it becomes hard to maintain. Over the years it gets replaced with some more pragmatic hybrid- og OO language.
I have seen the same with projects written in Haskell, Erlang, and Elixir.
It’s all a really nice idea, but in practical reality it runs into issues with “social scaling”
EDIT: Realizing this was not super helpful. If you want to look for positions where fp can be employed I think something academia related, or a startup where there is greater technical flexibility is something to look for
Not OP, but on the contrary, I think your remark about social scaling of FP code bases was very insightful!
What do you think is the secret sauce that lets companies like Jane Street have a 99% ocaml codebase even with 2000 or so employees?
Not sure. But I think starting out early in the growth fase of the company and having a strong core of senior enginnees that can push for it and ensures everyone learns good practices
The company I work for is much smaller but we’ve still grown a lot with a nearly 100% Haskell codebase (on the backend at least). For us, the main thing has been setting expectations and doing a lot of upfront training and mentoring. We hire people who don’t know Haskell or who have never done FP and put them through training. We have a lot of mentoring ongoing afterwards.
There is a large digital bank from my country that uses Clojure in its backend. I dont know if is 100% Clojure, but i know that every Dev that they hire has to go through a training on Clojure, since its not common to work with that language in my country and they want to make sure everyone onboarding learns properly how to work with a functional language
JavaScript, when its written well
I have written one HTTP benchmark in Escript. Nothing else I tried could push as many requests per second as I needed.
Unfortunately, that’s it. Erlang has awesome capabilities, but I could never push it through the higher ups.
Sorry, not an answer to your question, but I am interested in what functional language is the go to as a grad student? Thanks!
I’m not too familiar with the state of research but I’ve seen a lot of papers that use Haskell
I currently use Common Lisp, it is considered functional but its sort of in between. I use CL to generate voxel art which is what my employer is paying for so they really don’t care what I use. I also use a couple functional DSL’s one of which is literally just math applied to voxels, and the other is more akin to a fancy config file format.