Search The Blog
Latest Posts
Twitter: @RoyOsherove
About this site

TDD in .NET Online Course

TDD and BDD in Ruby Online Course



This site aims to connect all the dots of my online activities - from tools, books blogs and twitter accounts, to upcoming conferences, engagements and user group talks.

« My first talk in Norwegian - Beautiful Builds | Main | Books vs. Kids »

Refactoring String Calculator with SOLID Principles in Mind - Examples Needed

Given this simple implementation of string calculator, mid way, how would you refactor this, based on SOLID principles? and how far would you go?

Please note what principles you think this code breaks, and why it is important that it implement them, if at all. show how you refactored it in a gist.


Post your own gists and tweet them under hashtag #solidkata and we can start a discussion on this. later I might use them in my videos, courses and presentations.

PrintView Printer Friendly Version

References (1)

References allow you to track sources for this article, as well as articles that were written in response to this article.

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>
Web Analytics