solnic.eu
Articles tagged with  refactoring

Common Pitfalls Of Code Metrics

January 22, 2014 by Piotr Solnica

Code metrics and code metric tools can be both helpful and harmful. The difference between the two is learning to interpret the results and use the feedback to improve yourself and your code.

I have a lot of experience with code metric tools. Over...


Get Rid of That Code Smell - Attributes

April 04, 2012 by Piotr Solnica

In this post I will show you why using attribute accessors is a code smell in most of the cases. This is a very convenient feature of Ruby but you should only consider using it if you’re implementing a data-like objects which expose, well, data to...