This is what happens when you make everything an API and try to hide all of the details. People program as the docs tell them to, not realizing that what they're doing requires a hideous amount of complexity under the hood. It is sadly rare for an API to actually mention that a particular method is expensive.