Great explanation thank you 😊 After 12 years on c# i started using f# last year
This actually makes me way more interested to give F# a try. I’ve always wondered why C# wasn’t effective for scripting but this looks awesome.
Nice video. For some time this can be written more concise way: File.ReadAllLines(file) |> Seq.map _.Split(" ", StringSplitOptions.RemoveEmptyEntries).[3].TrimEnd(':') |> Seq.countBy id |> Seq.sortBy snd |> Seq.iter (fun (key, count) -> printfn $"{key}: {count}") '_' can be used as this if we want to uset the value or/and its method/property 'id' can be used in functions like countBy, groupBy instead of (fun x -> x)
Thank you for this! What a great way to explain a language shift. It reminds me of how I transitioned from C to Java by converting my structs/unions into Java classes. Recently I started learning Rust, but now I am thinking why not F#. Amazed by its immutable and discriminated unions and that too comes with .NET ecosystem. I have been working on C# for the last 8 years and given a choice I would always prefer F#. I wish one day I work with F# on daily basis. But at the same time I think that C# has recently adopted more functional and declarative features like Lambda, LINQ, Records,Tuple and even ImmutableList. Hence C# still maybe a preference over F# for enterprise projects?
how to create a enterprise api with F#, theres a packages to use with kafka? its a new world for me this lang...
@OrdridOfficial