code formatting
Making code readable
Code formatting is the arrangement of source code for readability—indentation, spacing, line breaks, and alignment.
Consistent formatting makes code easier to scan and maintain: The style guide requires four-space indentation.
Teams often enforce formatting automatically with tools that reformat code on save.
Formatting is distinct from logic; it affects appearance, not behavior.
- indentationInward cut or setback
- whitespaceUnprintable gap characters
- line breaksText row separations
- tabsProjecting flaps for gripping
- spacesGaps or open areas
linting · prettier · syntax · camel case · brackets · alignment · readability · style · conventions · style guide · best practices · curly braces · semicolons · newlines · minify · beautify · cleanup · standards
- software developmentprogramming, bug, debug, debugging, algorithm
- code editorsautocomplete, debugger, breakpoints, line numbers, indentation
- code styleindentation, naming conventions, conventions, consistency, readability
- formattingitalics, font size, font color, indent, underline
code formattingmachine code
CPU-executable binary instructions
code, codes, coded, coding, coder, coders, codify, codification, codec