Tag Archives: refactoring

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

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

Introducing ReSharper Ultimate 2018.2 Early Access Program

Today we are kicking off the new cycle of the ReSharper Ultimate EAP (Early Access Program). Please welcome the ReSharper Ultimate 2018.2 EAP! In addition to more than 100 fixes, here are the new features and improvements you can already … Continue reading

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

Sharpen your sense of (code) smell

For the next 10 weeks, we’ll have weekly posts by Dino Esposito (@despos) around a common theme: code smells and code structure. Keep an eye on our blog! As humans, we have plenty of sweat glands all over the skin. As … Continue reading

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