Content deleted Content added
m →Languages: awk isn't a shell, added or |
→Statements and blocks: 4 space tabs |
||
Line 6:
for (int i = 0; i < 10; i++)
'''{'''
printf("%d", i);
doTask(i);
'''}'''
Line 14:
Generally, these languages are also considered "free-form languages", meaning that the compiler considers all whitespace to be the same as one blank space, much like [[HTML]]. Considering that, the above code ''could'' be written:
for (int i = 0; i < 10; i++)'''{'''printf("%d", i); doTask(i);'''}'''
but this is not recommended, as it becomes nearly impossible for a person to read after the program grows beyond a few statements.
|