←back to thread

Why F#?

(batsov.com)
438 points bozhidar | 2 comments | | HN request time: 0s | source
Show context
rockyj ◴[] No.43546371[source]
I did try F#, but I was new to .NET ecosystem. For 1 "hello world" I was quite surprised by how many project files and boilerplate was generated by .NET, which put me off.

I am all for FP, immutable, and modern languages. But then where are the jobs and which companies care if you write good code?

Now everyone wants languages which are easy to use with AI, while reducing workforce and "increased productivity". I have been programming for 20 years and know 4-5 languages, in India it was worse but in EU at-least I can make a sustainable living by writing Java / TypeScript. I cannot even find jobs with Kotlin + TypeScript which pay well, forget getting jobs in Elixir / Clojure / F# (there maybe a handful of opportunities if I will relocate for around 70K/year). That is why I have mostly given up on learning niche languages.

replies(11): >>43546449 #>>43546522 #>>43546629 #>>43546648 #>>43546914 #>>43546918 #>>43547243 #>>43547274 #>>43547691 #>>43548828 #>>43553311 #
8s2ngy ◴[] No.43546914[source]
I understand your perspective. I like to view niche languages as a medium for learning. For instance, I enjoy using Rust in my personal projects—even if many of these projects may never be released—because the lessons on immutability, functional programming constructs, and trait-oriented programming significantly enhance my day-to-day work. Therefore, I believe that learning niche languages, even in the absence of a robust job market, is worthwhile.
replies(1): >>43547025 #
jen20 ◴[] No.43547025[source]
I'm not sure I'd call Rust a "niche language" any more (perhaps in ~2018) - it's in common use across many big technology companies.
replies(2): >>43547427 #>>43554703 #
homebrewer ◴[] No.43547427[source]
It is extremely niche outside of this bubble.
replies(3): >>43548059 #>>43549836 #>>43550169 #
mmoskal ◴[] No.43549836[source]
According to Stack Overflow developer survey [0] Rust is at 12.5%, roughly a half of C# or Java and a quarter of Python. Also more than twice Ruby. So definitely not niche.

[0] https://survey.stackoverflow.co/2024/technology#most-popular...

replies(3): >>43551417 #>>43554714 #>>43558534 #
1. throwaway2037 ◴[] No.43554714[source]
To be clear, that developer survey asked:

    > Which programming, scripting, and markup languages have you done extensive development work in over the past year, and which do you want to work in over the next year?
It does not ask if you are gainfully employed and using this language for your job.

Also, in the same results, just above Rust, I see:

    > PowerShell 13.8%
<sarcasm> So, I guess that we can safely say that Microsoft PowerShell is still more popular than Rust. </sarcasm>
replies(1): >>43554785 #
2. winrid ◴[] No.43554785[source]
Powershell is probably more popular, it's used a lot for IT stuff so we never hear about it but it's there.