What is the significance of using commenting in syntax?

RubyGodwinRubyGodwin Member Posts: 1
Although we all probably leave comments in our code anyway, you need to leave clever comments. Take this example.




The problem with these comments is that they point out the obvious. We can tell from the syntax that we enter a loop, print out the number and end the loop. It’s obvious. What comments should do is explain why the code does what it does. This is a much better example.




What do you think how important is commenting when writing a syntax and what do you think what are the possible gain of writing commenting?Is their any expert from software company or software companies in Dubai they can guide me in it.




Sign In or Register to comment.