Miscellaneous Best Practices

In this book so far, we have discussed various patterns, styles, and code. During this discussion, our aim was to understand the patterns and practices to write neat, clean, and robust code. This appendix will mainly focus on practices. The practice is very important when it comes to adhering to any rule or any kind of coding style. As a developer, you should rehearse coding on a daily basis. According to the old proverb, practice makes man perfect.

This is shown through the fact that skills such as playing a game, driving a car, reading, or writing do not come instantly. Instead, we should perfect these skills over time and with practice. For example, when you start driving, you start it slowly. There, you need to remember when to press the clutch, when to press the brake, how far they need to turn the steering wheel, and so on. However, once the driver is well acquainted with driving, then there is no need to remember these steps; they come naturally. This is because of practice.

In this appendix, we will cover the following topics:

  • Use case discussion
  • Best practices
  • Other design patterns
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.140.108