answersLogoWhite

0


Best Answer

Comments are completely ignored by the compiler or interpreter. They exist purely to provide little text reminders or remarks that assist us in understanding our own code, making our code easier to read, clarifying the logic, explaining key features, and so on. Comments should be kept as simple and as minimal as possible. If you have to explain every single line of code to yourself then there's something fundamentally wrong with your code. Well-written code should be largely self-documenting, requiring little or no commentary, however, a comment that explains why a section of code exists does far more than a comment that reminds you what it does. The code itself tells you what it does, but why it's doing it may not be quite so self-evident.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How are comments used in programming language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the C language used for?

Programming.


What is C language used for?

Programming.


What programming language can be used for water billing system?

Any programming language can be used. Some are more suitable than others.


C A programming language widely used for systems programming?

Yes.


.net is the programming language?

No. .NET is a framework, not a programming language. It is the common framework used by the C#, F# and Visual Basic programming languages.


Which programming language was used to develop tally?

in c language


In programming data read by programming is called?

Pascal language is used to read the programming data.


Why vb is an event driven programming language?

because it is driven by events. as it is a language used in programming, then it only makes sense to say VB is an event driven programming language.


Who are the ancestors of C programming language?

programming languages B and BCPL which was used to derive C


Which language is used in network programming?

C


Why are use c language?

For is it programming used.


How does HTML helps programming students?

It is important to note that HTML is not a programming language. It is a markup language. However, it does have some similar characteristics, like that it is a file with a list of commands, it has rules, it allows comments and other things. It is easy to learn and can be useful to get people used to the basic concept of giving instructions to a computer in a file. However there are lots of fundamentals of programming that are not in HTML, as it is not a programming language. For serious programming courses, people would not be shown HTML as part of the training. They would start on an actual programming language to be shown the fundamentals of programming. Some programming can be linked into web pages, and so integrated with HTML and if people are going to be creating programs for the internet, then they would learn HTML.