By bloid
via bofh.org.uk
Submitted: Aug 21 2008 / 12:50
Ruby’s primitives (Strings, Hashes, Arrays, Numbers – anything that has a literal syntax) are fine things. But that doesn’t mean you should use them everywhere. You’re often much better off wrapping them up in your own Value Objects.
Add your comment