programming

The perils of sharing state when writing tests

Sharing state is always a bad idea. Functional programmers have been using immutability for a long time now, completely avoiding the perils this can bring. For all the others that for one reason or another keep going on with the good ol’ OOP, this is an hard lesson that needs to be learned. And sooner […]

Bad test coverage results? No worries!

Yesterday I stumbled upon an “interesting” bug in the code coverage tool. In case you’re generating it (and I strongly encourage you to), please make sure you’re satisfied with the results. At work by policy we have to ensure at least 70% of test coverage. However in one of my projects I was getting way […]

Let’s do some DDD with Entity Framework Core 3 – part 2: let’s see some code!

Last time I talked a bit about the new release of Entity Framework Core 3 and introduced the small demo I wrote to test the new features. Now let’s see some code! I took the liberty to update the repository on GitHub and split it into two projects. Example 1 is just a simple console […]

Let’s do some DDD with Entity Framework Core 3!

Few days ago Microsoft released Entity Framework Core 3, introducing a lot of improvements in both functionalities and performance ( and some breaking change as well). Now we have full support for very cool stuff like C# 8, Async Enumerables, plus a brand new LINQ provider. I’m using a lot Entity Framework in my daily […]

Back to the ’74 with a 8080 emulator – part 2: rendering

And finally I got something working! Took me a bit of searching and head scratching, but at the end I managed to get some pixels on the screen 🙂 If you remember my last post, we discussed a bit about emulators and why I started this project. The Intel 8080 is a quite easy platform […]

Scroll to top