January 31, 2025
4 minute read
🎙️ Listen to the podcast episode here 🎙️
I was reading some code recently that had a bunch of problems at various layers, and in spite of all my years of coding and the fact that it's not even my projec…
Read More
April 18, 2023
6 minute read
An argument (lol) for the use of explicit argument names in C# function calls even when they seem redundant.
You can assert correctness when reviewing the call site in a dumb text display (e.g. a pat…
Read More
July 10, 2022
3 minute read
Reasons you should prefer a single class / interface / record / enum / struct per file in C# projects.
Congitive load
Multiple types per file increases the cognitive overhead of remembering where ever…
Read More
July 9, 2020
17 minute read
Sometimes a codebase has an overwhelming amount of "terrible" stuff that as a developer you almost can't help but just diving in and fixing it. Doing this without thinking too hard can result in many …
Read More
August 28, 2018
1 minute read
Small matter of code style that I keep coming across.
Whether to write
if (thing) Action();
or
if (thing)
Action();
or
if (thing)
{
Action();
}
We should always use the braces to avoid introducing …
Read More