No, it's not a function that causes it. It's the dev who is sloppy and causes issues. Would you blame the scalpel or brain surgeon for mishap while cutting important bits in the brain?
What kind of logic is this, to blame the tool because you have no clue how to use it?
What kind of logic is this, to blame the tool because you have no clue how to use it?