4 ms·
What? If you have lines that are too wide, you can 1. Change the tab width in your IDE 2. Turn on line-wrapping
by DidYaWipe 1y ago
What? If you have lines that are too wide, you can
1. Change the tab width in your IDE
2. Turn on line-wrapping
- mabster 1y ago1. This problem is introduced by increasing the tab width, so this solution is basically "don't do that". 2. Line wrapping on something like C where you have braces is okay, but not with something like Python where the code now looks wrong. I'm in the spaces camp, but I was musing about this for the tabs camp because wanting to adjust the indentation seems reasonable. (My "favourite" convention was Luajit where the convention was: 2 spaces, until we got to 8 spaces, in which case tab.)
- DidYaWipe 1y agoYep, that's why line-wrapping is #2. I can see why it'd be less acceptable for some languages.