bytedevAssertion Roulette & Eager TestAssertion Roulette is a test smell where it can be difficult to determine which of a number of assertions in a single test is the one that…2 min read·Oct 17, 2023----
bytedevCyclomatic Complexity & C#/.NETCyclomatic complexity is a code metric (integer value 1 or more) used to measure how complex a function/method is.4 min read·Apr 3, 2023----
bytedevThe God Constant ClassAn anti-pattern I have observed in some .NET projects, though it could equally be relevant in any object-oriented environment, is placing…2 min read·Mar 6, 2023----
bytedevTreating Warnings as Errors in .NET projectsCompiler warnings can be an indication of potential problems in your code project. For this reason it can be good practice to treat all…2 min read·Feb 22, 2023----
bytedev.NET Niggles (2): When to use First or Single?This might seem remediable to more senior .NET developers however I wanted to address a mistake I often see more junior .NET developers…2 min read·Sep 13, 2022----
bytedev.NET Niggles (1): Overuse of File.ExistsThis is a post aimed at the slightly more junior .NET developer audience.2 min read·Sep 13, 2022----
bytedevQuickly setup StyleCop for new .NET solutionsStyleCop is an open source tool that can be used within .NET projects to define and enforce code style guidelines in an automated manner.3 min read·Aug 1, 2022----
bytedevWhat not to unit testWriting unit tests is certainly a good software development practice, however there are a number of things we should not actually test when…3 min read·Jul 25, 2022----
bytedevWhat’s a software developer’s job?The purpose of a software developer’s job is primarily to write code that:2 min read·Jul 25, 2022----
bytedevCode comment anti-patternsThe following describes some of the various different types of bad code comments and anti-patterns as well as what we can do to improve…5 min read·Jun 20, 2022----