In the article we describe how to limit compilation dependencies. Two methods are discussed: pimpl approach and via abstract interfaces
by Bartlomiej Filipek
From the article:
In the post I covered the pimpl pattern. I discussed the basic structure, extensions, pros and cons and alternatives. Still, the post might sound a bit “theoretical”. Today I’d like to describe a practical usage of the pattern. Rather than inventing artificial names like MyClass and MyClassImpl you’ll see something more realistic: like FileCompressor or ICompressionMethod.