The article discusses encapsulation in Object-Oriented Programming, highlighting its importance in ensuring data integrity. It details how a developer improved class properties with proper validation and automatic updates between related properties, thus adhering to encapsulation principles. Key recommendations include using DateTime.TryParse and encapsulating business logic within property setters.
Category: Code Quality
dotNetDave Approved: CodeRush for Visual Studio
After over 20 years, I've decided to start recognizing the third-party components and add-ins to Visual Studio that I use just about every day and swear by. The first is the only refactoring tool that I have used for Microsoft .NET called CodeRush for Visual Studio by Developer Express Inc. (DevExpress.com). I have tried others, … Continue reading dotNetDave Approved: CodeRush for Visual Studio
256 Seconds with dotNetDave (E10) – My Workflow Before I Submit Code Changes
In this episode of 256 Seconds with dotNetDave, I will share my workflow on what I do before I submit code changes to source control. This video will explain it in detail. I share this workflow because it makes sure that I rarely get bug tickets from quality assurance and hopefully it will for you … Continue reading 256 Seconds with dotNetDave (E10) – My Workflow Before I Submit Code Changes
dotNetDave Says… Coding Should Be the Smallest Part of Your Job!
The article emphasizes that effective software engineering extends beyond just writing code. It involves critical thinking, planning, mentoring, and collaboration. The author advocates for prioritizing design, documentation, and team dynamics to ensure successful software development. Coding alone should not dominate an engineer's role; comprehensive engineering practices lead to better outcomes.
New Book Release! Rock Your Code: Coding Standards for Microsoft .NET
Announcing the 6th edition of my coding standards book for Microsoft .NET! Newly updated for .NET Core 3.1 and .NET Framework 4.8. This book is a compilation of common Microsoft .NET coding standards in use today. In the past, for languages like Visual Basic, Microsoft published coding standards in a single document that developers could … Continue reading New Book Release! Rock Your Code: Coding Standards for Microsoft .NET
What Can Be Done to Make Code Quality Better?
This article explores the critical issue of code quality in software development. The author, with years of experience in advocating for coding standards, shares insights from fellow developers on how to enhance code quality. Key suggestions include emphasizing unit testing, code comments, and better training, while addressing ego-related challenges in code reviews. The article underscores the importance of fostering a culture of quality and incorporating coding standards into education. It highlights the need for a strong commitment to code quality in today's security-focused software landscape. Ultimately, the article offers actionable ideas for improving code quality within development teams.
dotNetDave Says… Documenting Software Projects
Proper documentation is essential in software development, regardless of methodology, to ensure effective collaboration among developers, QA, and tech support. Skipping documentation increases costs significantly and hinders productivity, especially with new team members. Effective planning and structured documentation help prevent issues and contribute to sustainable software architecture.
dotNetDave Says… If Your Code Is Hard To Unit Test, You’re Doing It Wrong!
Unit testing is vital in software projects, yet often neglected. Many developers avoid writing tests, but they provide necessary confidence and enable safe code changes. Without unit tests, deploying code can lead to significant issues. Responsible software development requires commitment to testing, akin to routine health check-ups, highlighting its essential role in maintaining quality and credibility.
dotNetDave Says…Always Code For Reusability
The author emphasizes the importance of writing reusable and maintainable code, drawing from 25 years of experience. A project plagued by poor coding practices highlights the issues of short-term thinking and technical debt. Leaders are urged to enforce standards and prioritize quality to avoid future complications and costs associated with unmaintainable software.
New Book Release! 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 New Book Release! Rock Your Code: Code & App Performance for Microsoft.NET

You must be logged in to post a comment.