So I was going over the PSR coding standards the other day (which I duly follow), and Ive kind of always understood the reasons for everything, and mostly coded that way for everything Ive worked on over the last 10+ years as very similar standards were heavily forced upon me in my university days - it just stuck.
However, I do wonder about this note in the PSR-2 standards:
There MUST be one blank line after the namespace declaration, and there MUST be one blank line after the block of use declarations.
Why is this? I dont object to it, but Im sure there is some kind of background or history to explain, and it never really jumped out to me as why. I guess the obvious reason is legibility, but I have a feeling like there are deeper reasons for this standard.
While I'm at it - does anyone know of any good resources to explain the logic behind all of the PSR guidelines? Its useful to have an official reasoning and history which led to specific standards when trying to convince others to follow them, whom may not be convinced its in their best interests.