←back to thread

Why F#?

(batsov.com)
447 points bozhidar | 3 comments | | HN request time: 0.617s | source
Show context
systems ◴[] No.43546815[source]
The problem with F#, Clojure and Elixir (hosted languages)

For F# , you need some basic C# knowledge For Clojure, you need some basic Java knowledge For Elixir, you need some basic Erlang knowledge

I like all 3 languages but usually each vm have a primary language, and each hosted language eventually become hosted on that primary language not the vm

I understand that for many task simple, to medium complexity, you might not need that, but it seem as you try to be more advanced you hit the wall of having to learn you host vm primary language

replies(5): >>43546991 #>>43547051 #>>43548499 #>>43554726 #>>43557529 #
1. LandR ◴[] No.43554726[source]
I've written a lot of Clojure now, and I've managed to avoided learning any Java really.
replies(1): >>43556709 #
2. chamomeal ◴[] No.43556709[source]
That’s a reassuring thing to hear as a new clojure learner who has little interest in java.

What bits of java have you ended up needing? Like do you often use java libraries that don’t have clojure wrappers?

I feel like I’m often running up against little things. I’ll google “how to do xyz in clojure” and the top SO answer is to use a java library that apparently everybody already knows about, cause so many clojurists came from java first!

replies(1): >>43557586 #
3. iLemming ◴[] No.43557586[source]
> What bits of java have you ended up needing?

The same with Clojurescript and JS (and probably with Clojure-Dart) - you have nice interop with the hosting platform. The need for learning anything about Java (while writing Clojure) basically boils down to finding API documentation for a specific class and simply using it. That's all. That's all you'd ever need.