snestracker icon indicating copy to clipboard operation
snestracker copied to clipboard

Convert tabs to spaces

Open bazz1tv opened this issue 4 years ago • 0 comments

Some code and header files feature inconsistent tabbing, using a mixture of spaces and raw tabs. This mostly came from my own experimenting.

To a guy who likes to save bytes, raw tabs seem cool, but it can be awkward nailing down how it mixes with spaces to properly format code. I would need to give a clear example but it's just not worth my time.

On the other hand, spaces might force a coder into a certain coding style.

I think the code will be easier to maintain using exclusively spaces when allowed to do so (eg. Not in the Makefile).

This isn't a huge concern; a good modern editor like Sublime can properly display the mixed code uniformly.

So, this issue is Super low priority for anyone who wants to take it up. You may need to find a script or something to identify files that contain lines starting with tabs.

bazz1tv avatar Jun 06 '20 23:06 bazz1tv