Laravel / updated: June 30, 2015

Neurotic Laravel – Three space trailing comments

laravel-code-blocks

via dadkab0ns on Reddit:

Just noticed this – it’s like this in every config setting. Not sure if awesome or neurotic

Taylor Otwell responded:

It is indeed intentional. I’m not sure if it’s awesome or neurotic either… :)
Also, it is not just config files – it is the entire framework.
Config files are the first impression of the framework once you have it installed. So, I want it to be pleasant to the eye. The symmetrical comments help with that. I don’t want your first impression of the code to “appear” disorganized or something. I dunno. It’s kind of crazy. I do it with all of the Laravel core code. If it doesn’t look pleasing to the eye, I keep working on it until it is.

Laravel News Partners

Newsletter

Join the weekly newsletter and never miss out on new tips, tutorials, and more.