C# 7.0 – Pattern Matching in Switch

C# 7.0 adds lots of new features to bring code simplification and performance. Pattern matching is one of the interesting features of C# 7.0.¬†¬†Pattern Matching¬†simplifies code that is conditional on the shape of data. Pattern matching means we can switch based on the type of data to execute one or more statements. For example, In…

map() – JavaScript Functional Programming

What is functional programming? Functional programming is a programming paradigm, the process of building components using pure functions and avoiding shared state, mutable data and side-effects. In simple, functional programming is doing our tasks with functions, avoiding side effects by using pure functions. For example, Without iterating the list using user defined loops; we can…

%d bloggers like this: