Is an indent 4 spaces?

Asked by Nasir Henderson

For example if you start off using four spaces for an indent, then you should always use four spaces. In the example below, four spaces have been used for the first indent, but only two for the second, and you can see that as a result the code doesn’t “line up”.

Claudia Vasquez, BA Contributor
Claudia Vasquez
4.2/529 ratings

Leave your comment

Leave a Comment

Your email address will not be published. Required fields are marked *