In [my post on when it is appropriate to reinvent the wheel]( I list a number of advantages of a reimplementation. I think those advantages apply especially for framework libraries. For example, it is often impossible to isolate the use of a framework library inside a small part of you application. Instead, they tend to dictate the structure of the client source code, and therefore it is desirable to have [full control]( over the library.