Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How important is preserving comments?

comments preserving
0
Posted

How important is preserving comments?

0

We think it is very important. In a complex code, comments are crucial to the maintenance of the design because they tell you the “why”. For example, consider a part of a design which delays clock by three cycles. That much is obvious from the code. But why? In any non-trivial code the answer may not be easy without comments. The HDL Translator preserves all comments, and somewhat preserves formatting. As an unexpected byproduct, it also preserves coding style. Often you can tell who wrote the original code.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123