#code-quality
14 articles tagged with #code-quality
Guardrails: The One Thing Missing in Most AI Assisted Development
Why guardrails — not better AI models — separate teams that ship fast from teams that ship fast into a wall, and the four-layer Guardrail Stack that makes engineering speed sustainable in the AI era.
ReSharper guidelines: installation, license, code coverage and troubleshooting - Part 4
The ReSharper best practices, how to install it and activate the license, the dotCover must-dos and how to troubleshoot the slowness.
How to enforce ReSharper code style rules in the build? - Part 3
How to enforce ReSharper code style rules in the build with a NuGet package, and how to configure the NuGet package source.
What is ReSharper? Code style rules, severity and dotCover - Part 2
What ReSharper is, how its 2200+ code style rules and severity levels work, and what dotCover and code coverage tell us.
Why we need ReSharper to improve the code quality? - Part 1
Why small code style issues become technical debt, and why we need immediate feedback and build enforcement with ReSharper.
Remove dead code - why and how to find it safely
Dead code increases cognitive load and deployment risk, so this guide explains how to find candidates, confirm they are unused and remove them safely with history as a backup.
Static code analysis with StyleCop, FxCop and ReSharper
Static code analysis explained through StyleCop, FxCop, ReSharper, rule sets, IDE checks, local builds, CI integration and gradual warning reduction.
Feature toggles - shipping unfinished code safely
Feature toggles explained through release control, toggle types, configuration, rollout, cleanup and practices for shipping unfinished code without accumulating debt.
Defensive coding - guard clauses and null checks without the noise
Defensive coding explained through guard clauses, boundary validation, specific exceptions, null checks, empty collections and clearer .NET application logic for practical guidance.
What is technical debt and how to manage it?
Technical debt explained through its causes, principal, compound interest, visibility, prioritisation, repayment practices, and engineering habits that prevent new debt.
Code review checklist for .NET teams
A practical .NET code review checklist covering design, readability, correctness, errors, security, performance, testing, operations, and constructive review comments and discussion.
What is a God object and how to break it?
God objects explained through their warning signs, causes, and a step-by-step refactoring approach using characterization tests, extraction, interfaces, and dependency injection.
Why we must not use magic numbers and hard-coding?
Magic numbers and hard-coded values explained with their maintenance and security risks, plus practical replacements using constants, enums, configuration, and read-only values.
Why we need Clean Code?
Why clean code matters, what makes code clean (meaningful names, small functions, guard clauses, comments that explain why) and how to bring the practice into your team.