|
Re: C or LabVIEW: CompactRIO
ComradeNikolai made a comment about commenting above, and I thought I should comment on it.
1) Comments should be used for . . . comments. Aside from debugging during development, commented-out code is likely a bad thing. If you find yourself looking at code with large sections commented out, it may be time to consider cleaning up unused, broken, or out-dated code.
2) One of the structures in LabVIEW is a "diagram disable block" which acts like commenting out code in a text-based language. You can still see the underlying code, but a transparent block is above it and the code will not run.
|