Why is indentation in empty lines bad?

后端 未结 3 407
慢半拍i
慢半拍i 2021-02-03 19:34

Every FOSS project I know has rules against trailing whitespace in code. But I think it\'s very natural to continue the current indentation on the next line:

int         


        
3条回答
  •  不思量自难忘°
    2021-02-03 19:53

    I think it boils down to "no redundant hidden surprise bytes in your code plz".

    As @sarnold points out, redundant surprise bytes make patching and diffs unnecessarily messy.

提交回复
热议问题