Free Post Functional Programming The function Map() Today I would like to share last of small helper functions that help write concise code. Just like Apply, it helps to avoid null-checking ifs by conditionally applying a transformation
Free Post The function Try() I've recently posted about two functions that I use sometimes to write less code: Void and Apply. Today I would like to share another one of the kind, a function
Free Post C# The function Apply() You may find one of these patterns while looking through C# code: byte[] Read(int length) { var data = new byte[length]; stream.Read(data, 0, length); return data; } using var
Free Post C# Void: a "magic" function Today I would like to share with you one super-simple but powerful function that I have been using in my C# code for a while. Let me show a few
Free Post C# pwd: first week A week ago I've published pwd on github, posted an article about it on my site, and promoted it on reddit. People generously gave it 7 stars on github and 31 upvotes on reddit (89% positive), and read the article 340 times. It could
Free Post C# Story of pwd This story is about a tool that helps me manage my encrypted files and passwords. It is a console application in C# script. Your feedback and stars are greatly appreciated.
Free Post C# ImmutableList<T> performance This a short story followed by simple .NET hint that can increase performance in some areas of your application in 10 times or more. In the HPS project I've implemented
Free Post .NET C# 8: switch statement At the end of January the .NET Core development team has released a new version of the .NET Core framework, .NET Core 3 preview 2. It delivers a few new
Free Post Debugging memory leaks in .NET applications I personally think that using low level debuggers is a skill that any professional .NET developer must have. I just published a course on how to use LLDB for debugging
Free Post JavaScript Node.js 10: Important Changes The recent release of the node.js is a major milestone in its development. It contains many changes in the library, bugfixes and updated v8 engine. the complete changelog is
Free Post .NET Refactoring locks into sharing immutables So if both Eric Lippert and Jon Skeet think lock free programming is only for people smarter than themselves, then I will humbly run away screaming from the idea immediately. – dodgy_coder – SO There is some truth in this quote. Lock-free is a quite
Free Post .NET Deadlock example, .NET It is actually a bit surprising, but many .NET developers have never had deadlocks in their code. Some very good developers may not have seen them for years. So it may be a good time to remind about them. One the common mistakes about
Free Post HackerRank Functional Challenges HR F#: Functions and Fractals: Sierpinski triangles The problem of drawing the Sierpinski triangles is considered to be advanced problem and it really is. The Sierpinski triangle is a fractal, constructed by recursively subdividing equilateral triangles into
Free Post HackerRank Functional Challenges HR F#: Pascal's Triangle The second problem from the Recursive subdomain is printing Pascal's Triangle for given n. Pascal's triangle is named after famous French mathematician from XVII century, Blaise Pascal. His findings on
Free Post HackerRank Functional Challenges HR F#: Computing the GCD The greatest common divisor (or GCD) of two integers is the largest positive integer that divides two of these integers. The first of the Recursion problems on the Functional track at Hackerrank is computing the GCD using the Euclidean Algorithm. In this algorythm the