Below you can find Best Practices for how to write a good code for Drupal 8

1 2 3 4 5