Best practices for custom operators

Use these tips to write operators that perform effectively in their application, and in other applications.