Normal Topic How Comments Affect Compiling Time? (Read 467 times)
Bharat_Naik
Senior Member
Members
*****
Offline


Ever ready to learn and
share

Posts: 1202
Location: Chicago,  Illinois
Joined: Dec 16th, 2003
How Comments Affect Compiling Time?
Feb 23rd, 2004 at 4:18pm
Print Post Print Post  
During the migration and translation process, I have tendency to keep old codes as comments, just to make sure if the new one did not work, I can fall back on the old one or atleast pick up some hints from the old ones.  Doing so, a big chunks of space used in /*     */ as comments.  I am wondering,  does that affect the compiling time or the comments are bypassed while compiling and does not affect compiling time in any significant way?
  
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: How Comments Affect Compiling Time?
Reply #1 - Feb 23rd, 2004 at 4:32pm
Print Post Print Post  
Comments are bypassed while compiling and do not affect the speed of compiling in any significant way. The compiler flies through comments because there is nothing to check, no need to check for syntax.

I highly recommend the use of comments because while you may remember exactly how the program works a few days from now. A couple months down the road you may have to change something and comments let you remember how the program does what it is doing.
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Bharat_Naik
Senior Member
Members
*****
Offline


Ever ready to learn and
share

Posts: 1202
Location: Chicago,  Illinois
Joined: Dec 16th, 2003
Re: How Comments Affect Compiling Time?
Reply #2 - Feb 23rd, 2004 at 4:35pm
Print Post Print Post  
Ray, Thanks for guidance.
  
Back to top
 
IP Logged