Duplicate of Are spaces preferred over tabs for indentation and almost certainly others
For a long time the coding rules and guidelines in my company recommended usage of tabs (of size 4) over spaces (to save valuable storage space), initially I found it tough when I started working for my company, in the long run I got used to it. Now suddenly they say, we need to use spaces instead of tabs. And the indentation still is at 4. But recently I started writing RTL, and the hardware engineers use indentation at 3. I am a bit confused. What is behind all these 3, 4, or sometimes 2. Which is the best? and why?