Tag Archives: code style

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 , , , , | Leave a comment

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

Code completion improvements in Rider 2018.2 EAP

In our latest Rider 2018.2 EAP (Early Access Preview) build, we made a number of improvements to code completion. The scoring engine from R# is now being used, resulting in better code suggestions. We’ve added code completion for scratch files, … Continue reading

Posted in How-To's | Tagged , , , , , | 7 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

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

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

Easy conversions and readability – 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. Welcome back to our series about code smells! Today, we’ll look at overriding the ToString method and making use of extension methods. … Continue reading

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

Join data items that want to go together – 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 the previous post of this series, we presented the value of using data containers instead of plain primitives to provide a … Continue reading

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

The simple case of special string types – 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. Good to see you back! In our series about code smells, so far we have seen various theoretical cases. Today, we will … Continue reading

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