Any ideas why Pimpl idiom is called "Compilation Firewalls"? :-)
I have thought for a while, and I think client code does not need to compile in Pimpl idiom, so like a firewall to block compile, it is called "Compilation Firewalls".
Any ideas why it is named "Compilation Firewalls"?
thanks in advance,
It is just a metaphor. A firewall is a fire-proof wall to stop fire from spreading. Pimpl is a technique to reduce code interdependencies and build times, it is a way to minimize what needs to be recompiled.
Originally Posted by anon