Technology Blog

You are seeing posts tagged with: clean-code

Refactoring: a real case of a nested if structure transformed into a chain of responsibility

francesco bonfadelli

It seemed a normal day of work when one of our managers called a meeting to inform us of a very urgent feature that should be put in production within 2 days. So, between the deriving chaos and the tons of alignment meetings, we produced a code that basically "worked", but we weren't happy about it. Luckily we were able at least to write the tests. So, once we put in production the feature, we decided to immediately refactor the piece of code.

January 10, 2019 - 45 min read ⏱️⏱️⏱️⏱️⏱️

Clean Code: data structures vs objects and the law of Demeter

fabrizio duroni

Ever wondered about the differences between data structures and objects? Let's analyze them with the help of the Law of Demeter.

April 25, 2018 - 2 min read ⏱️

Clean Code: meaningful names

fabrizio duroni

Naming things is one of the most difficult part of our job, still it is one of the more effective way to communicate the intention of a piece of code. Take a look to a real example.

September 11, 2017 - 4 min read ⏱️ folks
Written by folks who are busy living. You should follow us on Twitter

The postings on this site are authors' opinions and experiences and do not necessarily represent the postings, strategies or opinions of group.