Live data from Hacker News

Tour of F#

docs.microsoft.com

101–110 of 140 posts

Re: Tour of F#

#101
I know that it's not entierely related to the post, but is there a specific job board for F# jobs? I tried the language a bit and really liked it but it seems to be rarely used in a professional setting, which is a shame... I'd be interested to know where I could potentially find a job where I could use F#!

Re: Tour of F#

#102

Earlier quoted context omitted.

For what it is worth, the Microsoft docs are getting easier to navigate. https://docs.microsoft.com/en-us/ They are currently putting a lot of effort into docs. It's got to be hard to learn .NET from zero. Try figuring out which namespaces are the most common and start browsing the docs.

I really disagree with Microsoft's approach of homogenizing their products, and this is a perfect example. - There's never a need for "Microsoft" documentation -- you'll have a question with a specific product or service. They really should be distinctive visually. - This is on the microsoft domain and top left click goes to microsoft.com, but you can't get back here from microsoft.com - By the time I click through t…

I've never had that problem with AWS and their docs are EXTENSIVE and homogeneous.

Honestly, I've always found the .NET(C#) docs pretty good even going into naming conventions and design patterns. However I'm open to improvement as they were looking a bit dated and I often had trouble ending up in docs for older versions of software/OS's.

Re: Tour of F#

#103
post #29

Earlier quoted context omitted.

Expert F# by Don Syme et. all is a fantastic book for precisely this purpose. People are doing themselves a disservice if they scramble for a collection of cheat sheets since there are so good books available.

Can you go straight to this book or do you need to get a certain comfort level with f# first? I have the latest edition for F# 4 but haven't read it yet, plan to as part of my learning the language but haven't figured out order.

It's pretty good.

Re: Tour of F#

#104

So I learned F# and C# in parallel. But more emphasis on F# than on C#, and so when I landed my first dev job on C# I was so incredibly baffled at the code base. I would toss my arms up in shock at the sight of reference types or classes being passed around and updated from external methods. The horror! How could somebody do this. Anyway, now I have come to learn it is just another way of doing things but my C# progr…

> I wish there was a way I could do more F# at my work.

I use it instead of Powershell for my own scripts.

Re: Tour of F#

#105
post #7
post #5

A more concise cheat sheet: http://dungpa.github.io/fsharp-cheatsheet/

I don't know if there's such a thing (maybe I should write one myself, as I plan to learn F# :) ), but a cheat sheet that is a bit higher level would be useful. Things like: * how do I read a text file * how do I write a text file * how do I download a file using HTTP * ...

This site actually does precisely that http://fssnip.net

Re: Tour of F#

#106

So I learned F# and C# in parallel. But more emphasis on F# than on C#, and so when I landed my first dev job on C# I was so incredibly baffled at the code base. I would toss my arms up in shock at the sight of reference types or classes being passed around and updated from external methods. The horror! How could somebody do this. Anyway, now I have come to learn it is just another way of doing things but my C# progr…

I learned C# (and OOP in general) first, and then made the switch to F# (and FP in general). F# does a great job combining the two paradigms, IMHO, and is a pleasure to work with. I hope I never have to go back to C# (although they keep adding new FP features to it in every release, so it's not as bad as it used to be).

Re: Tour of F#

#107

For anybody curious/interested in F# or any programmer who is interested in safe (functional) programming, check this out: https://fsharpforfunandprofit.com/posts/is-your-language-unr... I might be slightly biased but in my opinion it's one of the best programming articles I have ever read.

"F# for fun and profit" is a great site. This was one of my main sources of information when I was making the switch from C# to F#.

Re: Tour of F#

#108

The problem I had going into this without a strong functional background is that often times to do practical things you're forced to work with .NET libraries - these .NET libraries are not nice functional libraries and don't encourage you to think functionally. Eventually I felt like everything I wrote was wrong and I just gave up on it.

Can you give an example? I think F# has nice functional replacements for most of the nasty (mutable) bits of the .NET Framework, such as List, Set, Dictionary, etc. Most of the other areas of .NET work just fine with F# in my experience.

Re: Tour of F#

#109
post #58

Earlier quoted context omitted.

F# works fine for me on linux. what is it you're after?

well i mean there's all this stuff i vaguely see about .NET Core not being as good as the offering on windows but that eventually it will be? i don't know C# but i'm interested. i guess i'm just wondering if i should make the leap to starting to learn it even though i develop solely on linux.

It works very well, it's partly about microsoft ditching a lot of dependency on windows and giving open source developers what they have had for a while with ruby/python/java (think gem packages, ability to run build tasks etc easily via a command line interface) etc.

I recently converted an asp.net web app to dotnet core and was able to run it via nginx to the in built kestrel web server the only problem I had was connecting to an MS SQL server named instance.

Re: Tour of F#

#110

For anybody curious/interested in F# or any programmer who is interested in safe (functional) programming, check this out: https://fsharpforfunandprofit.com/posts/is-your-language-unr... I might be slightly biased but in my opinion it's one of the best programming articles I have ever read.

"F# for fun and profit" is a great site. This was one of my main sources of information when I was making the switch from C# to F#.

Me too, and the whole site is available as a ebook: https://www.gitbook.com/book/swlaschin/fsharpforfunandprofit...
Post reply on HN