Should I remove comments and whitespace?

Soldato
Joined
12 Jun 2005
Posts
5,361
Hi there,

I am new to windows programming and was wondering, when compiling the program does it exclude whitespace and comments automatically? Specifically in VB.NET?

Thanks.
 
:eek:

Yes of course it does. Comments also are excluded.

Also VB relies on whitespace to determine where code statements end, so you'd have a job removing them anyway :p
 
Last edited:
understand that what you write is not exactly what is executed...

your code goes into a compiler which generates the code that eventually runs. it does nothing with your standard comments. same goes for whitespace.
 
Back
Top Bottom