Posts
Code smell: Don't talk to strangers
“Don’t talk to strangers” can be a useful rule of thumb for identifying code smells when writing code.
Code smell: Arrowhead code
A tip for recognising a common code smell is to look for arrowheads. Consider the following python code:
The diminishing returns of rewriting a system without the original authors
Choosing to rewrite an existing system is a big decision. It usually requires a project to reach a point where the technical debt is too much to deal with, or the technology is so ancient that the compentencies no longer exists. However, it can also come from an engineering team that have gone the wrong way, or chosen to rely on a technology that has become deprecated. This particular story is about the later case. It aims to illustrate the two most important takeaways: domain independence and tribal knowledge.
Benchmarking EFCore 3.1 Cartesian explosion problem
In Entity Framework Core 3.1 any LinQ expression is translated into a single SQL statement. This will not be a problem for most queries, but it can cause performance problems if developers are not cautious of this when crafting queries. This article will introduce a simplified model of a performance problem that was discovered and solved in a production environment.
subscribe via RSS