3 ms·
I prefer spaces. Tabs can render differently in different editors, making alignment harder. Always irks me when I come across some config file format that only
by ams6110 10y ago
I prefer spaces. Tabs can render differently in different editors, making alignment harder.
Always irks me when I come across some config file format that only accepts tab delimeters.
- ekimekim 10y agoWhich is why I take (well, prefer) a third option: Tabs for indentation. Spaces for alignment. The idea is you should be able to set any tabstop you like and the code will still align correctly. For example: ^Ia_really_long_method(a_very_long_argument, ^I the_second_argument)
- sorenjan 10y agoThis is the most logical option. Tabs to add an indentation level, the width of that is unimportant and can be configured by each user. Spaces to align, since they're like any other character in a mono spaced font thereby perfectly matching the line above.