Imperfect C++ Practical Solutions for Real-Life Programming By Matthew Wilson | |
Table of Contents | |
Part Four. Cognizant Conversions |
Chapter 22. Bolt-ins
The term bolt-in was originally coined, to the best of my knowledge, by my friends and former colleagues Leigh and Scott,[1] who have a software consultancy based in Sydney, Australia. Generally speaking, bolt-ins "bolt in" significant enhancing functionality around existing classes. This sounds similar to the concept of veneers, and indeed bolt-ins can be considered a closely related concept. However, they are a whole lot more substantive, and they have fewer constraints than veneers.
There is a significant gray area between veneers (see Chapter 21) and bolt-ins, but they have different intents. Where veneers are, by and large, concerned with polishing existing types, bolt-ins are concerned with significantly changing or completing the behavioral nature of (often partially defined) types. |