Spaces are kinda better, because tabs are not consistent across editors/platforms. Just please use the tab key to indent, don’t press the spacebar x times like a monkey
I personally find 2-space indented code harder to read than 4-space. If I’m working on someone else’s codebase which is indented with 2-spaces then I have to cope. But if it’s tab-indented then I can just edit the setting in my editor to display a tab char as 4 whitespace chars
Spaces are kinda better, because tabs are not consistent across editors/platforms. Just please use the tab key to indent, don’t press the spacebar x times like a monkey
deleted by creator
I prefer tabs because they aren’t consistent
I personally find 2-space indented code harder to read than 4-space. If I’m working on someone else’s codebase which is indented with 2-spaces then I have to cope. But if it’s tab-indented then I can just edit the setting in my editor to display a tab char as 4 whitespace chars