The article discusses real-world coding issues encountered in a contract project. Part 3 covers common coding issues related to design, diagnostics, and other areas, such as globalization, code duplication, and Linux-based development challenges. It emphasizes the importance of code quality, performance, and prioritizing code reviews to ensure a maintainable and efficient solution.
Category: Coding Standards
Real World Coding Issues: Part 2 – Style and Performance Issues
The author is nearing the end of a contract and wants to discuss coding issues they encountered during the development of a particular solution and other projects. Their goal is to provide valuable insights to improve the codebase of the current project. They reflect on the initial state of the codebase when they joined the team and how it has evolved during their tenure. The author's objective is to leave the code, project, and team in a better state than when they started. They were hired to enhance performance and code quality. The author also mentions that they have noticed common coding issues in multiple projects and this article aims to provide statistics and highlight these prevalent issues.
Using Explicit Operators in Microsoft .NET to Perform Type Conversions
This article outlines the implementation of explicit conversion operators in .NET to manage type conversions effectively. By creating a public static explicit operator and a corresponding conversion method, developers can streamline conversion logic. A practical example illustrates converting a value-type Person to a reference-type Person, emphasizing benefits like type safety and cleaner code.
dotNetDave Rocks the Code Quality Conference 2023
The dotNetDave For Those About to Code: Worldwide Tour will be at the virtual Code Quality Conference 2023 on June 2nd. Last year we had over 30K software engineers watch the conference and I hope you will watch it this year to learn how to rock your code to release quality applications and services that meet your user's needs.
Code Quality: Formatting Classes in Microsoft .NET to Make Them Easy to Read and Modify
This article emphasizes the importance of formatting classes in Microsoft .NET to improve readability, maintainability, and consistency. It provides guidelines for structuring class files, including headers, imported namespaces, class namespaces, constructors, events, properties, methods, and the use of blank lines for code organization. The article also recommends using documentation tools like GhostDoc and adhering to coding standards for better code quality.
Rockin’ the Code World: Special Guest Milan Jovanović
Join me on Saturday, March 18th, 2023, at 10:00 PST on C# Corner for show #76 where, for the first time, my special guest will be Milan Jovanović, Software Architect, and Content Creator. Don't miss this episode!
Public Service Announcement: PMs and Managers Must Ensure Memory Issues are Not Introduced in Microsoft .NET Projects!
I have been writing about this in books and articles since the beginning of Microsoft .NET over 20 years ago. This first PSA is geared toward Project Managers and Development Managers as a warning, so their projects don't suffer from preventable issues like this that I see at every company I work for.
Rock Your Code: Code & App Performance for Microsoft.NET – 3rd Edition
I am announcing the 3rd edition of my book titled Rock Your Code: Code & App Performance for Microsoft .NET, now available on Amazon. I worked on this book for a big chunk of 2022 so I hope that you and your team will find it useful.
Rock Your Code: Code & App Performance for Microsoft.NET
Today I am announcing the brand new edition of my book titled Rock Your Code: Code & App Performance for Microsoft .NET, now available on Amazon. How fast your code executes is very important for your users and back-end server processes. This is even more important for the future as more and more users, use … Continue reading Rock Your Code: Code & App Performance for Microsoft.NET
Collection Performance: Processing Collections with Parallel.For() and Parallel.ForEach()
Since .NET 4.0, under the System.Threading.Tasks namespace, processing of collections can be sped up by using Parallel.For() and Parallel.ForEach(). These methods operate with thread-local data that runs in parallel. Both are easy to use and come with different options. This article shows you how to use these methods along with benchmark results.

You must be logged in to post a comment.