Type erasure and reified in Kotlin
Due to type erasure, we cannot access type information of generic methods at runtime. Unless we use the reified keyword inside an inline method.
About technology stuff that piqued my interest
Due to type erasure, we cannot access type information of generic methods at runtime. Unless we use the reified keyword inside an inline method.
FastAndFaster is a library to create objects and invoke their methods using dynamic code generation. Its performance is very close to static C# code.
A unit test not only needs to be correct but also needs to be readable. With Kluent, we can write assertions that sound like natural language.
While upgrading a project to .NET 6, I ran into an datetime issue with the latest npgsql efcore provider. Today, we will look at the cause and try to fix it.
If we store passwords in string objects, we cannot control when the corresponding memory is reclaimed. The SecureString type can partially solve this issue.
I frequently use the AutoFixture library to generate test data for my unit tests. Today, we will checkout the way it generates bool, enum, and int type.
Writing unit tests for the IHttpClientFactory interface is not that straightforward. Today, we will explore two different ways to solve this problem.
FakeItEasy is my favorite library to create mock objects for unit tests in C#. One of its features, the `Ignored` property, can be harmful if used improperly.
Python supports built-in handlers to cope with encoding errors. Not only that, we can also define our own handlers and register them with the codecs module.
Naming fields in ValueTuple is not a ground-breaking feature. After all, it is just syntactic sugar. But have you ever wondered how that feature is implemented?