- Completely modifiable source code
- Can be optimized
- Runs native to the engine or system
- No dependencies
- May be written in a favored style
- Any errors would be on the designer's end (you)
To the opportunist, grabbing a tried and tested library for use in his or her own program is optimal. Though, each library and engine works its own way, and is written differently from any other source.
I am not shunning libraries. If anything, it can be beneficial to look at the source code of the library you would like to learn off of and adapt one's own style of it to suit his or her needs. It might just be me, but to have things written by myself helps me out greatly in understanding how the program flows. Furthermore, if there are any design flaws, the one at fault would be the one developing the system (me). I can debug any errors and work things out without having to depend on the reliability of another library made in DM.
There's some things of course that are out of my control, such as the backend of DM itself. I'm sure there can be a lot of things that could be changed, but that is something we all must deal with. I probably wouldn't know what to do about it anyway.
That said, I've used libraries in my projects (Murder Mansion uses Deadron's EventLoop, Deadron's Pathfinding, Shadowdarke's DynamicAreaLighting, Polaris8920's .txtParser, and a handful of snippets copy-pasted from the forums over the years.
But in all these cases, it is because the system is/was beyond my ability (or motivation) to create myself. I use them because they're all something I can't/couldn't do (or didn't want to put the effort into)
But even then, none of them are included in Murder Mansion in the traditional "check the include box, and use the provided hooks" manner. I have copied them into my own code files, and made all kinds of little edits. The definition of "library" means that you shouldn't have to make any edits, but I like to custom tailor the parts that I can, or add on extra functionality that is too specific to my game design for the original library to have included.