background preloader

Coding

Facebook Twitter

Советы по C++ On the Importance of Purity. The benefits of advanced programmings languages are sometimes difficult to grasp for everyday programmers.

On the Importance of Purity

The features of such languages and how they relate to industrial software development are sometimes hard to understand, especially since the arguments are couched in terms such as "referential transparency", "totality", "side-effect-free", "monads", "non-determinism", "strong static typing", "algebraic data types", "higher-order functions", "laziness/call-by-need", and so on. Many of these features are attributed to "pure" languages, but purity is also a nebulous concept. I will explain the importance of a number of these features and how they impact the everyday programmer's life.

The Benefits of Referential Transparency. Elegant Code. Explaining What Action<> And Func<> Are « Making the Complex Simple. In C#, Action and Func are extremely useful tools for reducing duplication in code and decreasing coupling.

Explaining What Action<> And Func<> Are « Making the Complex Simple

It is a shame that many developers shy away from them because they don’t really understand them. Adding Action and Func to your toolbox is a very important step in improving your C# code. It’s not really that hard to understand what they do and how to use them, it just takes a little patience… A simple way of thinking about Action<> CodeSnippets: CodeDrive Snippets courtesy of Peter Coopers handy little app.