←back to thread

Why F#?

(batsov.com)
447 points bozhidar | 1 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{3}[source]
It is extremely niche outside of this bubble.
replies(3): >>43548059 #>>43549836 #>>43550169 #
mmoskal ◴[] No.43549836{4}[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 #
askonomm ◴[] No.43551417{5}[source]
In my mind not niche means having jobs, and Rust has no jobs, not in any meaningful amount at least, and none at all in most countries. That puts it deep in the niche category for me.
replies(1): >>43554724 #
1. DeathArrow ◴[] No.43554724{6}[source]
It's popular in the "let's rewrite X in Rust" community which are very actively posting on HN, Reddit and wherever they can. That gives the impression it is not niche.

But the moment you search Rust on LinkedIn, you can see the truth.