Code Formatting and Naming Guidelines

Learn about general programming practices regarding code format, code structure, names, and comments.

Code format

Let’s take a look at code formatting rules:

  • Use code autoformatting of the integrated development environment (IDE) or code editor. For example, many programmers use Eclipse, IDEA, PyCharm, Visual Studio, and others.

  • Do not use spaces and tabs for indentation simultaneously. If the tab size changes, the code formatting won’t look good.

Level up your interview prep. Join Educative to access 80+ hands-on prep courses.