Menu

Close
  • Home
  • java (29)
  • dotnet (11)
  • algorithms (7)
  • architecture (7)
  • scala (7)
  • javascript (5)
  • polish (5)
  • csharp (4)
  • elektronika (4)
  • hibernate (3)
  • linux (3)
  • unit-testing (3)
  • hardware-review (2)
  • cheatsheet (1)
  • ctf (1)
  • devcon (1)
  • eclipse (1)
  • electronics (1)
  • functional-programming (1)
  • git (1)
  • hacking (1)
  • hardware (1)
  • kotlin (1)
  • low-level (1)
  • other (1)
  • postman (1)
  • powershell (1)
  • regex (1)
  • security (1)
  • sql (1)
  • ssh (1)
  • tips (1)
  • vim (1)
  • windows (1)
Subscribe
Blog Logo Menu

dotnet

A 11-post collection

Page 1 of 3 Older Posts »

Reduce cognitive load for readers of your code

Recently I was reviewing a piece of code that was performing some computation on file sizes. The author of that code followed good programming practices and... »

Author image Marcin Chwedczuk on Dotnet 05 Mar 2019

FluentAssertions and code formatting

Recently I was playing with FluentAssertions library. I was really amazed by the beautiful error messages generated by FluentAssertions. For example, for this failing test: [Fact]... »

Author image Marcin Chwedczuk on Dotnet 10 Feb 2019

ReadOnly does not mean Immutable

Recently I have introduced a subtle bug into my code. It all started when I was creating a few value object classes: public class Method {... »

Author image Marcin Chwedczuk on Dotnet, Architecture 06 Jan 2019

Random thoughts on Maybe

With functional programming on the rise nowadays, more and more people start using functional patterns in their code. One of the simplest patterns is Maybe<T> monad... »

Author image Marcin Chwedczuk on Dotnet, Architecture 01 Jan 2019

NSubstitute and the search for perfect error messages

Those of us that practice TDD daily already know how important good error messages in tests are. After all writing a failing test that clearly states... »

Author image Marcin Chwedczuk on Dotnet, Architecture 15 Dec 2018
Page 1 of 3 Older Posts »
Programming is Magic © 2021
Proudly published with Jekyll using Jasper