If you don’t put enough time during the design (Tech) of the project and not monitored correctly, then you have to put your entire lifetime in fixing the issues that will come out later. Below is the list of points which needs to be monitored during the course of the project development and correct it as and when you identify a mistake. Delaying the correctness of mistake leads to more mistakes and it will become impossible to correct at one point.
1. Indentations: It is a very easy to read but when you are writing long lines of code, it is very important to indent your code properly. Not doing so will lead to put in lot of time to understand the code later and more time to debug for any kind of syntactical errors.
2. Long lines of code: Always avoid having long lines of code. Developers will feel proud when they write lengthy lines of code. But at one point, that much amount of code is unnecessary and also not required to achieve that particular task. Always remember to shorten the code as use functions wherever required. Please note that not using functions or writing the same block of code at more than one place is a very bad way of programming.
3. Poor database design: Poor database design could be like having many tables, improper table names/column names, not having primary keys or references. Initially while developing the project, the data model could be small and you may skip having references. But always remember to have proper references as the database is the backbone of the project and it will only increase and not decrease. So always spend more time during the database design.
4. Improper variable names: Developers are lazy and always intend to have shorter variable names. There is no wrong in having smaller variable names but you always have to understand that a project will be developed and maintained over a span of years and it is impossible to have the same developer working. So it is very important to have meaningful variable or function names and should be able to understand easily by looking at the code.
5. Not writing comments: Most developers write lengthy comments which are unnecessary at one point. Always remember to have comments where it is required and not at every line of code. It is important to write comments which explain the use of the code and not what the code does. As a developer, anyone can understand the code but not able to understand the business view behind the code. So it is very important to write the comment which explains the business view.