| FazBrowse Wikipedia Viewer | Main Page | | |
| Viewing: https://en.wikipedia.org/wiki/Prettyprint#Programming_code_formatting |
| Contents |
|---|
| See also |
| References |
| External links |
Pretty-printing (or prettyprinting) is the application of any of various stylistic formatting conventions to text files, such as source code, markup, and similar kinds of content. These formatting conventions may entail adhering to an indentation style, using different color and typeface to highlight syntactic elements of source code, or adjusting size, to make the content easier for people to read, and understand. Pretty-printers for source code are sometimes called code formatters or beautifiers.
x ^ 2 + 3 * x</samp>\""}},"i":0}}]}'>"x ^ 2 + 3 * x" as int foo(intk){ if(k<1||k>2){ printf("out of range\n"); printf("this function requires a value of 1 or 2\n"); }else{ printf("Switching\n"); switch(k){ case1: printf("1\n"); break; case2: printf("2\n"); break; } } }Related concepts
Utilities
| View original on Wikipedia | Back | FazBrowse Home |