News for hackers. Stuff that matters.
Re:Ask HN: What do you think of F#? by darklajid on Sunday October 24, 2010 @01:30PM (#1826610)
I've used it for some pet projects, mostly to get my head around a functional language with an easy entry (and exit) route for me: I'm a C# guy by day.

I started doing the Euler things etc. and did a quick dive into lexing/parsing (one strong point that your list is missing, imo). I got hooked. While I still cannot use F# for most of my things (technically it would even be possible, but try to convince your higher-ups that it is a good idea to switch to a language that they've never heard about, "because it is fun"), I use it for small things on a regular basis. You can mix functional and structural/iterative style (which is a plus in my book, the latter just _is_ faster if your program really wants to lend itself to mutable loops in places). You have a huge and well-tested library - the interaction with everything .Net is trivial.

Deployment isn't a big issue anymore: In the past you needed to either compile it statically or ship the F# stuff as well, with its status as a "first class citizen" in .Net 4 there's really no reason to back away from it anymore. It's here to stay.

I didn't have any trouble running it on mono/linux - but I've to admit that I last tried it quite a while ago.

Full Disclosure: I'm a kind of a fanboy here, I guess. The wall in my back is painted with a very nice/succinct 13 line prime number generator in F#, roughly 4cm line height, done as a decoration by my so.. ;)

Re:Ask HN: What do you think of F#? by irahul on Sunday October 24, 2010 @01:51PM (#1826687)
> I didn't have any trouble running it on mono/linux - but I've to admit that I last tried it quite a while ago.

It still runs great on mono. I tried it to do some examples while reading "Programming F#". It definitely brings some interesting ideas(not necessarily original but that doesn't make them any less good). I don't have any projects planned for F# but would surely love to use it sometime.

Re:Ask HN: What do you think of F#? by peregrine on Sunday October 24, 2010 @02:09PM (#1826748)
--but try to convince your higher-ups that it is a good idea to switch to a language that they've never heard about, "because it is fun")

I've never had issues convincing management the biggest issue I have is convincing coworkers who don't see value in learning new languages.

Re:Ask HN: What do you think of F#? by gaius on Sunday October 24, 2010 @02:13PM (#1826759)
That's the beauty of it - F# is now a peer of C# and VB.NET. There's no reason whatsoever for organizations to shy away from it - it's mainstream now. Whereas even tho' it's a very similar language, I can understand why a PHB would balk at OCaml.
Re:Ask HN: What do you think of F#? by tl on Sunday October 24, 2010 @03:39PM (#1827003)
It's an anecdote but I've had 2 PHBs that wouldn't accept C# in a "VB.NET" environment.
Re:Ask HN: What do you think of F#? by gaius on Sunday October 24, 2010 @03:44PM (#1827031)
Just look 'em right in the eye and say "dot Net". Works every time.