Why is indentation in empty lines bad?

后端 未结 3 460
慢半拍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:54

    This can also be rude to vi users who are accustomed to using paragraph navigation to jump around through code. Sometimes I do this when vi and it's quite surprising when I skip several functions because invisible characters said this is actually part of the previous paragraph.

提交回复
热议问题