Forum Discussion
Altera_Forum
Honored Contributor
16 years agoproblems about coding style
Hi all, I have some problems about my quarter projects. my teacher tell me some coding styles about FPGA,such as using the Tab key to indent the codes in order to make the codes trim . is it rig...
Altera_Forum
Honored Contributor
16 years agoHi there...
The use of Tab key to indent a line of code is one of many way of coding style. The purpose of coding style is to make the code looks cute, so it is easy to read, easy to read means easy to understand, easy to understand means easy to debug if there is an error occured. Another good coding style is adding comment inside your code, so in case if you forget your own code flow, you can easily remember it by reading the comment... You can found your own coding style,... Hope it can help you....