在结束语句之后放置字符 - 除了可读性之外还有什么好处吗?

Placing characters after an end statement - any benefit beyond readability?

除了可能的可读性好处之外,是否有任何理由在 Fortran 中的 end 之后放置描述符,例如:

subroutine foo()
    !> small code fragment
end subroutine foo

对战:

subroutine foo()
    !> small code fragment
end subroutine

显然,对于无法在单个实例中查看的任何代码块,我可以立即看到这样一个结束语句的价值,但是,特别是对于小函数和类型定义,感觉没有必要冗长。

不是在寻找 "opinion on whether its good style" 或不是答案,而是试图进一步了解我是否对此类陈述的结构有误解。

如果在结束语句中提供了名称,并且该名称与程序单元或子程序的开始语句中的名称不匹配,则需要符合标准的编译器发出诊断。这可能有助于定位编码错误。

否则纯属风格问题