I think its because not all editors treat tab the same way. For example in if Emacs uses 4 spaces for tabs and when you open it in Notepad it suddenly changes to 8. Using spaces rather than tabs makes it the text file more universal to other text editors.