Alireza BashiriinThe OOZOU BlogGilded Rose Kata Refactoring — Part 1Here’s a well-known Kata called Gilded Rose which has a flog complexity of 45 and almost 12 duplicate method calls and is a great example…Feb 18, 2019Feb 18, 2019
Alireza BashiriinThe OOZOU BlogCommand, Don’t Queryit is better to issue an object a command do perform some operation or logic, rather than to query its stateFeb 11, 2019Feb 11, 2019
Alireza BashiriCreate idempotent data migrationsYou’re working on a long-term Ruby on Rails project and as requirements change you find out that you should remove one of the models or…Feb 2, 2019Feb 2, 2019