Re:Reusable Software? Just Don't Write Generic Code
by j_m_b on Wednesday January 07, 2015 @10:06AM
(#8850817)
"Islands of functional code in a sea of imperative code." - Paraphrased Erik Meijer
I've found that my most reusable code is composed of pure functions. The imperative stuff is always changing depending on the circumstances but my functions are a solid base upon which I build.
I've found that my most reusable code is composed of pure functions. The imperative stuff is always changing depending on the circumstances but my functions are a solid base upon which I build.