Hi, I don’t have a programming background (apart from a bit of scripting with Python and Javascript) and I don’t have any experience with dotnet. However, I’ve dabbled a bit with a couple of programming languages, and I find functional programming languages rather attractive. I’ve watched the videos to Grossman’s programming languages course on Coursera which uses SML. Now I wanted to try a functional language for small projects, and as I’m on Windows, F# sounds like a good fit. However, a lot of the material I’ve found seems to assume you already know dotnet. And, looking at the syntax, even something as simple as reading user input from the terminal seems to involve C#-isms. For me, this looks really weird inside the otherwise rather clean ML-style syntax.
I guess my actual questions are this:
- Does it make sense to use F# without any dotnet knowledge?
- How do you actually call and use C# libraries? Is there a nice summary somewhere that doesn’t assumes existing dotnet knowledge? (I’m mean, I understand that parentheses are used for method calls, the
new
keyword that I’ve seen a couple of times will probably instantiate a new instance of an object (right?), but I don’t really want to learn C# first.