F# Study Today (Pattern Matching)

F# Review Today I encountered pattern matching for the first time. C# has it too, but I felt this is a feature characteristic of F#. F# Pattern Matching This is amazing. I thought C#’s switch expression pattern matching was similar, but this feature probably went from F# to C#. match Expression I think the match expression will be used often, so I need to remember it well. Also, it seems there are different kinds of patterns like or patterns and as patterns, so I need to memorize these properly too. ...

2018-08-22 · 2 min · 352 words · ayumax

Started Learning F#

Functional Programming Honestly, I still don’t understand it well. When should I choose it? What are its advantages? To be honest, I don’t know. Searching the web brings up things like “can write logic without side effects,” “code is easier to understand,” “testing is easier,” but I feel like I haven’t grasped the essence yet. My image was that it’s a “language with a completely different way of thinking and usage from procedural languages,” and even if I memorized the meaning of arbitrary corresponding programming grammar, it wouldn’t mean I could actually use it. That’s the strong impression I had – something in a realm I couldn’t touch. ...

2018-08-17 · 2 min · 417 words · ayumax