Creating custom codes best practices

What are the Creating custom codes best practices.

I cannot find in custom codes creation video please.

Answers