answersLogoWhite

0


Best Answer

To make the code easier to read for you and other programmers that might view your work.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

int main()

{

cout<<" Yes it is";

return 0;

}

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Indentation is used to make programming code easier to read?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Why is it good advice to indent all the statements inside a set of braces in java programming?

it is necessary to indent all the statements inside a set of braces so that the compiler can know what &amp; when to be compiled.An opening braces indicates that a new process has created &amp; closing braces indicates that the process is getting terminated at that point.


What is redundant code in object oriented programming language?

The basic idea is to duplicate as little code as possible. This helps make the program shorter, but especially, it makes it easier to maintain - if there is an error, or you want to add a feature, you do the change in a single place.


How is object oriented programming language easier to use than procerdural programming language?

object oriented programing helps better modeling the world as we humans see it, while functional and procedural programming is for the mathematicians P.O.V. harder to maintain the code, and for me , harder to understand imperative(functional) code over side effect code(OOP) OOP is more intuitive by the grasp of the model to the mind, as it stands to help better model the mind, though most developers i have see so far, can really make a good simulation for the world in order for the code to be more coherent. OOP is Object Oriented Programming P.O.V is Point Of View


Why is object orientation required?

Object-oriented programming is a programming aid. It is not required, but it does make programming substantially easier. Machine code is "spaghetti" in nature and is extremely difficult and tedious to write. Structured programming makes it much easier to produce machine code, but structured programming is often highly repetitive. Duplicate code is problematic in that if you wish to change the code you have to locate all duplications and change those as well. If not done properly it can lead to inconsistencies. Also, most data is in global scope and global data is notoriously difficult to keep track of. Procedural programming is an extension of structured programming that allows programmers to break code down into a sequence of simple procedures or functions known as subroutines, allowing data to become more localised, passing from function to function. This also helps reduce code duplication to a degree. However, the programmer still has no control over which function may modify which data, which can make it difficult to maintain invariants. Object-oriented programming extends procedural programming by encapsulating data and the methods that operate upon that data into self-contained entities known as objects, each of which has its own interface. The interface defines an object's invariant and gives the programmer fine-grained control over accessibility. New object types (classes) can inherit from existing types as well as embed existing types, greatly reducing the need for code duplication and allowing the programmer to construct elaborate data models more easily.


What is an object in visual basic?

Objects are basically very self-sufficient code that can be used over in lots of applications. The reason to use them is it makes programming much faster and easier for the programmer.

Related questions

What is the indentation in programming Why is it important?

In computer programming languages, indentation formats program source code to improve readability. Programming languages make use of indentation to define program structure . Programmers use indentation to understand the structure of their programs to human readers.


Why Object Oriented languages have been developed?

To simplify programming, increase code re-use, and make maintenance of programs easier.To simplify programming, increase code re-use, and make maintenance of programs easier.To simplify programming, increase code re-use, and make maintenance of programs easier.To simplify programming, increase code re-use, and make maintenance of programs easier.


What is indent use for on a computer?

Indentation is used in computer programming to improve the readability and structure of the code. It helps to visually group related lines of code together and make the code more organized. Indentation is particularly important in languages that use indentation to define code blocks, such as Python.


What is the function of a programming language?

Programming languages make it much easier for humans to create and maintain machine code programs. The computer itself handles the translation from the high-level languages we can understand to the low-level machine code that it can understand.


What is meant by good programming style and explain why it is important?

Good programming style encompasses several things. It means not naming variables things that do not make sense and adhering to indentation protocols. It also means leaving comments where methods may need explaining. This is important because other people will see code that is written and poorly written code is difficult to understand.


Code reviews and inspections to make sure programming standards are followed is known?

Code reviews and inspections to make sure programming standards are followed to known as?


How do you make source code in java?

Creating source code in any programming language requires nothing more than a plain text editor. However, a text editor specifically tailored to the programming language makes it easier to write the source code as the editor can automatically format and indent your code, provide syntax highlighting, code completion, and so on. Using an IDE (integrated development environment) makes it easier still, combining the code editor with a debugger and other development tools.


What kind of programming language is Halide?

There are many different programming languages available on the market. The programming language 'Halide' is a relatively new language on the market that was created to make programming easier.


How do you make a sentence with indentation?

The puppy's bite left a tiny indentation in my arm.


Why is it good advice to indent all the statements inside a set of braces in java programming?

it is necessary to indent all the statements inside a set of braces so that the compiler can know what &amp; when to be compiled.An opening braces indicates that a new process has created &amp; closing braces indicates that the process is getting terminated at that point.


What is redundant code in object oriented programming language?

The basic idea is to duplicate as little code as possible. This helps make the program shorter, but especially, it makes it easier to maintain - if there is an error, or you want to add a feature, you do the change in a single place.


Why programming is called programming?

Programming is the way to define how a system works, code to make it function as needed. Programming is involved in almost all computer applications. Aneways, its not very apt to ask why programming is called programming.