Episode
Control flow & pattern matching [10 of 12] | Beginner's Series to: F#
Applications are a series of instructions that execute in sequential order. Using loops, conditional expressions, and pattern matching, you can control the flow of execution in your application and behave differently based on certain conditions. Pattern matching has the added benefit of leveraging the compiler to enforce correctness in your code as you handle these behaviors.
Links:
For loops: https://docs.microsoft.com/dotnet/fsharp/language-reference/loops-for-in-expression/?WT.mc_id=academic-33202-cxa
While loops: https://docs.microsoft.com/dotnet/fsharp/language-reference/loops-while-do-expression/?WT.mc_id=academic-33202-cxa
Conditional expressions: https://docs.microsoft.com/dotnet/fsharp/language-reference/conditional-expressions-if-then-else/?WT.mc_id=academic-33202-cxa
Try with expressions: https://docs.microsoft.com/dotnet/fsharp/language-reference/exception-handling/the-try-with-expression/?WT.mc_id=academic-33202-cxa
Pattern matching: https://docs.microsoft.com/dotnet/fsharp/language-reference/pattern-matching/?WT.mc_id=academic-33202-cxaCode Samples: https://aka.ms/fsharp-101-samples
Luis' Twitter: https://twitter.com/ljquintanilla
Applications are a series of instructions that execute in sequential order. Using loops, conditional expressions, and pattern matching, you can control the flow of execution in your application and behave differently based on certain conditions. Pattern matching has the added benefit of leveraging the compiler to enforce correctness in your code as you handle these behaviors.
Links:
For loops: https://docs.microsoft.com/dotnet/fsharp/language-reference/loops-for-in-expression/?WT.mc_id=academic-33202-cxa
While loops: https://docs.microsoft.com/dotnet/fsharp/language-reference/loops-while-do-expression/?WT.mc_id=academic-33202-cxa
Conditional expressions: https://docs.microsoft.com/dotnet/fsharp/language-reference/conditional-expressions-if-then-else/?WT.mc_id=academic-33202-cxa
Try with expressions: https://docs.microsoft.com/dotnet/fsharp/language-reference/exception-handling/the-try-with-expression/?WT.mc_id=academic-33202-cxa
Pattern matching: https://docs.microsoft.com/dotnet/fsharp/language-reference/pattern-matching/?WT.mc_id=academic-33202-cxaCode Samples: https://aka.ms/fsharp-101-samples
Luis' Twitter: https://twitter.com/ljquintanilla
Video URL
HTML iframe
Have feedback? Submit an issue here.