Thanks for updating! It is useful to know that the empty line has a usage.


-Rui

On Fri, Dec 27, 2019 at 12:30 PM Vladimir Sitnikov <
sitnikov.vladi...@gmail.com> wrote:

> Ok, it looks like I found yet another reasoning for having a blank line
> between consequent comments.
> It simplifies shell-like comment processing.
>
> For instance, the following is non-trivial for an automatic header update
> (it is not clear where copyright ends and the next comment starts):
>
> #
> # Licensed under Apache 2.0
> #
> # Root logger is configured at INFO and is sent to A1
> log4j.rootLogger=INFO, A1
>
> However, if we add a blank line in-between the two comments, then it
> becomes much easier for machine processing:
>
> #
> # Licensed under Apache 2.0
> #
>
> # Root logger is configured at INFO and is sent to A1
> log4j.rootLogger=INFO, A1
>
> Vladimir
>

Reply via email to