Wish To Remove Primitive Obsession? Try This Effective Technique!
Created on 2023-07-27T15:38:09-05:00
Unstructured data types makes it difficult to curate larger more complex programs.
Examples: passing money around as integer or floats, instead of a structure that holds the amount and the type of currency such as USD.
Use of formatter objects to convert domain specific (ex. money types) back in to strings for when you need to do that.