TDD By Example - Money(jpboodhoo.com)

submitted by bitwisejpbitwisejp(1040) 5 years, 8 months ago

Learn how to use TDD to drive out a simple scenario. Creating a custom type to encapsulate money. If you find yourself using decimals a lot to represent money in your application, then get started building a first class type that encapsulates the rules for you. In the process, learn how using TDD can help you drive out the functionality in small testable pieces.

1 comment |category: |Views: 578

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by gavinjoycegavinjoyce(25.7k) 5 years, 8 months ago 0

This is a really great read

Reply

information Login or create an account to comment on this story