News for hackers. Stuff that matters.
Re:What is the case against F#? (2009) by babarganesh on Monday February 15, 2021 @09:34AM (#26143082)
our team (C#) did an extended proof of concept in F# about ten years ago. we found that it was easier to hero-code in F# but harder to work as a team over time in F#. we ended up embracing a lot of the functional paradigm in C#, which seems like a very good compromise.
Re:What is the case against F#? (2009) by karmakaze on Monday February 15, 2021 @10:43AM (#26143738)
This is a good and understandable observation.

The next question is whether this is from lack of common constructs/conventions by those new to F# or if it would always pervade as seems to be the case with Lisps. e.g. Clojure was specifically made to cover more in its library and syntax to promote standard styles.

Rather than thinking F# didn't/doesn't work, what were the reasons and what could be changed so it did work well?

Maybe some workflow changes like more design discussions before putting up a PR for review, or pair programming with rotating pairs so that conventions emerge. Also over time the codebase itself if it has benefited from convergence would show repeating patterns of adopted conventions.

I see the language itself as unapproachable only by reputation/lineage. In practice it can be on about the level of Elixir which is gaining traction and success stories.

Re:What is the case against F#? (2009) by fulafel on Tuesday February 16, 2021 @12:13AM (#26151173)
Could it be that you are just observing productivity? It seems plausible that anything which slows things down helps people work on a thing as a team because it's easier to keep up and there is more time and energy available to organise teamwork.
Re:What is the case against F#? (2009) by KurtMueller on Monday February 15, 2021 @10:16AM (#26143459)
> we found that it was easier to hero-code in F#

What does hero-code mean?

Re:What is the case against F#? (2009) by Smaug123 on Monday February 15, 2021 @12:37PM (#26144940)
"Hero-coding" is the kind of thing where you alone go into a fugue state for a week, and emerge on Sunday night, covered in blood and with your hair standing on end, holding a crystal redolent with eldritch power.
Re:What is the case against F#? (2009) by cogman10 on Monday February 15, 2021 @12:34PM (#26144896)
Here's my stab at it (though I could be wrong). It's like perl, easy for experts to write a lot of it fast, but hard for anyone else to grok what's going on.

As an anecdote, I see it come up with clojure a lot. Some of the clojure devs in my company can spin up a lot of interesting applications and fast. However, trying to read any of there code can be nearly impossible. Why? Usually because of a generous helping of their own metaprogramming constructs that they've built up over time. I've watched them program and it's both interesting and really hard to follow.

The big problem we've ran into is these clojure projects have been really hard for teams to get into. As a result, the worst thing has happened, many of them are being scrapped and rewritten in java because they are too hard to maintain otherwise.

Re:What is the case against F#? (2009) by najarvg on Monday February 15, 2021 @10:33AM (#26143636)
Speculating, but based on context, probably "Cowboy coding" with heroic intent and success..
Re:What is the case against F#? (2009) by karmakaze on Monday February 15, 2021 @10:48AM (#26143796)
> easier to hero-code in F# but harder to work as a team

Allowing hero-coding in any language makes it harder to work as a team, so using language that leverages hero output only makes it worse. I wouldn't say that the power of the language is the thing that should be blamed.

I can certainly see that using constructs that the team as a whole isn't ready to adopt being a problem that also comes up in adoption of Scala.