answersLogoWhite

0

indentation is good for all programming languages

1) it shows levels of nesting, nested if statements , for loops, etc

2) anyone reading your code can tell whats executing inside of what

3) It shows scope. If everything is indented you know the scope of variables

4) Easier to read

5) Better programming sense

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

How carefully does the compiler pay attention to indentation?

The compiler does not pay any attention whatsoever to indentation in C and C++.


What are the types of the net?

progaming for . net


What is progaming?

A computer programming is a person that makes programs for a computer.


What do you understand by the word indentation in programming language?

Indentation means to represent the coding in a readable format. for example: void main() { int i=0; if(i==0) { printf("%c\n", 'A') } else { printf("%c\n", 'B') } getch(); } the above program is not properly readable cause it don't have indentations like the below one void main() { int i=0; if(i==0) { printf("%c\n", 'A') } else { printf("%c\n", 'B') } getch(); } don't go for what this program is doing, it's just an example.


How do you convert Rockwell b scale to c scale?

You dont. Minimum C is about maximum B. And the indentation is different. Even if you could convert it, the results would not be accurate.


What is an indentation of shore called?

An indentation of the shoreline is a cove or bay.


What is the base word of indentation?

The base word of "indentation" is "indent".


How do you make a sentence with indentation?

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


When x is 9 and y is 11 and when x is 11 and y is 9 Note that the compiler ignores the indentation in a C program?

if(x 9) { }


What symbol is used to identify the end of a block?

In many programming languages, a closing brace } is commonly used to identify the end of a block of code. For example, in languages like C, C++, and Java, opening { and closing } braces define the scope of functions, loops, and conditional statements. In Python, indentation is used instead, where a block ends when the indentation level decreases.


What are the different types of indentation?

There are four common types of indentation: Block indentation, where text is indented to separate it from the surrounding content. Hanging indentation, where the first line of a paragraph is not indented, but subsequent lines are. First-line indentation, where only the first line of a paragraph is indented. Left and right indentation, where both the left and right margins of a paragraph are indented.


Why is it necessary to use indentation and space in java statement?

The Java compiler doesn't need this, and in fact doesn't care. It is important to improve the readibility of the program for human programmers. Even with correct indentation, interpreting a computer program can be confusing. Without proper indentation and spacing, it will be much, much worse.