[LRUG] A question on DRYness on testing methods that get / set state

Sam Livingston-Gray geeksam at gmail.com
Wed Nov 23 07:08:56 PST 2011


On Nov 23, 2011, at 12:04 AM, Tom Stuart <tom at therye.org> wrote:
> This is the paragraph where I restrain myself from launching into a diatribe about how we should always think thrice before using attr_* because of implications for encapsulation.
> 
> Cheers,
> 
> Other Tom

Search for James Ladd's "east-facing code" -- i did a small learning project using the approach and it's quite the eye-opener. Haven't been able to apply it to day job, though. For more on the topic see also @addcasts ep ...#4, I think?

--
(Sent from phone; please excuse brevity.)




More information about the Chat mailing list