Skip to Content
Clean Code in C#
book

Clean Code in C#

by Jason Alls
July 2020
Intermediate to advanced
500 pages
11h 8m
English
Packt Publishing
Content preview from Clean Code in C#
Refactoring C# Code – Identifying Code Smells

In this chapter, we will look at problem code and how to refactor it. In the industry, problem code is normally termed code smell. It is code that compiles, runs, and does what it is supposed to do. The reason it is problem code is that it becomes unreadable, complex in nature, and makes the code base hard to maintain and extend further down the line. Such code should be refactored as soon as it's feasible to do so. It is technical debt, and in the long run, if you don't deal with it, it will bring the project to its knees. When this happens, you are looking at an expensive redesign and recoding of the application from scratch.

So what is refactoring? Refactoring is the process of taking existing ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

High-Performance Programming in C# and .NET

High-Performance Programming in C# and .NET

Jason Alls
Code like a Pro in C#

Code like a Pro in C#

Jort Rodenburg

Publisher Resources

ISBN: 9781838982973Supplemental Content