Advanced Indentation Tips for the Uninitiated

Use 4 Spaces to Your Advantage

When in doubt, use 4 spaces to indent your code. It's the only way to ensure you're not a monster.

Learn more about the horrors of tabs

Don't Be a Tab-ulating Menace

Tabs are for amateurs. They're like the nuclear option for your codebase. Use them sparingly, lest you invite the wrath of the coding gods.

Read about the perils of overusing tabs

Consistency is Key

Choose a style and stick to it. Your codebase will thank you for it. And so will your coworkers, who won't have to deal with your inconsistencies.

Discover the joy of consistency