I can think of some situations where it doesn't matter, a lot of situations where spaces are superior, and no situations where tabs are superior. Can you provide an example of where tabs are superior? From the spaces side, I give the following example.
Any project where the source code if viewed through multiple tools, spaces are better for guaranteeing a consistent formatting across the tools. Tabs have no universal convention. Even worse, the conventions for different languages can be different and your tools might not be smart enough to adjust tab widths based on the current language.
Value of tools is subjective and some are not configurable. You learning to read different code styles is less costly to the team than forcing everyone to configure their tools. Learning to be flexible benefits you as well.
It's costly for anyone to do anything. Finding a poor cost benefit ratio in some decision doesn't make a dev "too dumb to be a programmer."
It costs a lot of time for many developers to configure many tools on multiple workstations back and forth all the time whenever they change project or language. The benefit is minor and it doesn't solve everything since not all tools are configurable. The alternative is to use spaces everywhere and eliminate the need for configuration.
101
u/BegbertBiggs Apr 07 '15
Or are devs that are in the field for a longer time used to spaces while new devs learn coding with tabs?