Why is it recommended to have empty line in the end of a source file?

后端 未结 8 890
独厮守ぢ
独厮守ぢ 2020-12-02 04:44

Some code style tools recommend this and I remember seeing some unix command line tools warning about missing empty line.

What is the reasoning for having an extra e

8条回答
  •  借酒劲吻你
    2020-12-02 05:36

    If you try to concatenate two text files together, you will be much happier if the first one ends with a newline character.

提交回复
热议问题