I like to declare variables anywhere, and I don’t like to replace this function with block. Now many other programming languages support this paradigm, and some skilled fortranners don’t like surprises, I don’t think it’s necessary to be so rigid.
block