Tag Archives: code analysis and quick-fixes

You ain’t gonna use it! – Code smells series

This post is part of a 10-week series by Dino Esposito (@despos) around a common theme: code smells and code structure. After 10 weeks, it’s time to wrap up our series about code smells. Let’s go out with imprinting the acronym YAGUI in our … Continue reading

Posted in How-To's | Tagged , , , , | 2 Comments

Null pointers: an opportunity, not an exception – Code smells series

This post is part of a 10-week series by Dino Esposito (@despos) around a common theme: code smells and code structure. Last week, we looked more closely at using the classical object-oriented concept of inheritance in our code base. This week, we will look … Continue reading

Posted in How-To's | Tagged , , , , | 13 Comments

Super SuperClasses – Code smells series

This post is part of a 10-week series by Dino Esposito (@despos) around a common theme: code smells and code structure. In our previous post, we looked at refactoring our code in a way that makes it more extensible, using dependency injection (DI) and … Continue reading

Posted in How-To's | Tagged , , , , | 7 Comments

Dependency injection doesn’t strictly require frameworks – Code smells series

This post is part of a 10-week series by Dino Esposito (@despos) around a common theme: code smells and code structure. Last week, we looked at using constructors vs. factory methods, and how sometimes factories can help make our code more readable. In this post, let’s … Continue reading

Posted in How-To's | Tagged , , , , | 13 Comments

Ref local re-assignment – C# 7.3 in Rider and ReSharper

The Early Access Preview (EAP) versions of ReSharper 2018.2 and Rider 2018.2 come with support for C# 7.3. In this series, we are looking at these new language features in C# 7.3. Today, we let’s check out ref local re-assignment. This post is part of a series … Continue reading

Posted in How-To's | Tagged , , , , , | 3 Comments

Every method begins with “new” – Code smells series

This post is part of a 10-week series by Dino Esposito (@despos) around a common theme: code smells and code structure. Last week, we looked at additional ways of bringing the code language closer to the business language. Today, we will discuss the usage … Continue reading

Posted in How-To's | Tagged , , , , | 13 Comments

Unmanaged, delegate and enum type constraints – C# 7.3 in Rider and ReSharper

Last time in our series about C# 7.3 language features, we covered tuple equality. Today we will look at unmanaged, delegate and enum type constraints. The latest Early Access Preview (EAP) versions of ReSharper 2018.2 and Rider 2018.2 come with language support for C# 7.3, … Continue reading

Posted in How-To's | Tagged , , , , , | 2 Comments

Put it down in layman’s terms – code smells series

This post is part of a 10-week series by Dino Esposito (@despos) around a common theme: code smells and code structure. So far in this series about code smells, we’ve made the point that keeping the language of the code close to the language of the … Continue reading

Posted in How-To's | Tagged , , , , | 4 Comments

Tuple equality – C# 7.3 in Rider and ReSharper

The Early Access Preview (EAP) versions of ReSharper 2018.2 and Rider 2018.2 added support for C# 7.3. In this series, we are looking at these new language features in C# 7.3. Today, we will cover tuple equality. This post is part of a series (we will update … Continue reading

Posted in How-To's | Tagged , , , , , | 2 Comments

Declaration expressions in initializers and queries – C# 7.3 in Rider and ReSharper

Ever since C# 7.0 came about, the pace at which our beloved programming language evolves became more rapid. A few weeks back, C# 7.3 was officially released, adding several new features that can help us write cleaner, clearer and more … Continue reading

Posted in How-To's | Tagged , , , , , | Leave a comment