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.


Filed in: Laravel


Newsletter

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

Laravel News Partners

Laravel Jobs

Mid / Sen. Software Engineer
Clearwater, FL
ShineOn
Remote PHP / Laravel Developer
Remote
SpringboardVR
Senior PHP/Laravel Developer: Your Dream Work Environment
Remote
iPhone Photography School
Senior Laravel Developer
Leidseplein, Amsterdam
Orderchamp.com
PHP Developer
Remote
X-Team
Senior Laravel Developer (Canada and India)
London, Ontario, Canada
Factory Bucket Inc.
Laravel, PHP, PostgreSQL, Neo4J Developer
Pune, India (intern in Denver, CO)
Life AI