Live data from Hacker News

Ask HN: Why isn't F# more popular?

news.ycombinator.com

111–115 of 115 posts

Re: Ask HN: Why isn't F# more popular?

#111

Earlier quoted context omitted.

> I've done plenty of freelance projects in F# over the past few years and enjoy it Could you give some examples of what did you do in F#? Did you choose F# just because you wanted to see if you can do it in it, or did F# have some advantages over other (functional) languages? > It takes a while to figure out your style however. (...) Some people end up with "C# in F#" (...) And until you figure that out, it's hard t…

My main project over the last few years has been a photobooth, so I've done server-side in suave (I LOVE suave compared to any other .net framework), client-side in WPF (F# experience in WPF is meh), and a bundle of other mini projects. I did it in F# because it was interesting, not because it was more productive at the time. My personal landing point is about #6 in the turtles article. I still like classes and inter…

> So you'd need a `User` that just has raw data, `UserDb` that maybe has that plus an ID/DateAdded/DateModified, a `UserOut` that maybe has that minus PasswordHash, a `UserIn` that maybe has RawPassword/RawPasswordAgain, etc, and conversions between them all.

Why is this needed in F#? Something to do with immutability?

Re: Ask HN: Why isn't F# more popular?

#112

Earlier quoted context omitted.

> I've done plenty of freelance projects in F# over the past few years and enjoy it Could you give some examples of what did you do in F#? Did you choose F# just because you wanted to see if you can do it in it, or did F# have some advantages over other (functional) languages? > It takes a while to figure out your style however. (...) Some people end up with "C# in F#" (...) And until you figure that out, it's hard t…

My main project over the last few years has been a photobooth, so I've done server-side in suave (I LOVE suave compared to any other .net framework), client-side in WPF (F# experience in WPF is meh), and a bundle of other mini projects. I did it in F# because it was interesting, not because it was more productive at the time. My personal landing point is about #6 in the turtles article. I still like classes and inter…

I created a gist of the pattern I've found to be most successful when doing an app in F#.

https://gist.github.com/daxfohl/0183db108924ee87440928cb803d...

Re: Ask HN: Why isn't F# more popular?

#113
post #111

Earlier quoted context omitted.

My main project over the last few years has been a photobooth, so I've done server-side in suave (I LOVE suave compared to any other .net framework), client-side in WPF (F# experience in WPF is meh), and a bundle of other mini projects. I did it in F# because it was interesting, not because it was more productive at the time. My personal landing point is about #6 in the turtles article. I still like classes and inter…

> So you'd need a `User` that just has raw data, `UserDb` that maybe has that plus an ID/DateAdded/DateModified, a `UserOut` that maybe has that minus PasswordHash, a `UserIn` that maybe has RawPassword/RawPasswordAgain, etc, and conversions between them all. Why is this needed in F#? Something to do with immutability?

This assumes you want to use records for your data: records don't have inheritance. So whereas in C# you could create a UserDb that extends User with the Id/DateAdded fields, in F# that's not idiomatic.

I am sure there could be a good way to automate this using type providers, but I haven't tried it yet.

Re: Ask HN: Why isn't F# more popular?

#114

Earlier quoted context omitted.

Everything in Windows has keyboard shortcuts, not so on Linux and MacOS (e.g. you can't open a random menu item with the keyboard).

Um yes you can? I mean i do this all the time like many times a day all the time... Alt key is your friend here

Not on MacOS.

Re: Ask HN: Why isn't F# more popular?

#115

Earlier quoted context omitted.

Um yes you can? I mean i do this all the time like many times a day all the time... Alt key is your friend here

Not on MacOS.

MacOS is as unusable as Windows to me.

I think it depends on what you are used to though.

Post reply on HN