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
Join the weekly newsletter and never miss out on new tips, tutorials, and more.
- Mid / Sen. Software Engineer
- Remote PHP / Laravel Developer
- Senior PHP/Laravel Developer: Your Dream Work Environment
iPhone Photography School
- Senior Laravel Developer
- PHP Developer
- Senior Laravel Developer (Canada and India)
London, Ontario, Canada
Factory Bucket Inc.
- Laravel, PHP, PostgreSQL, Neo4J Developer
Pune, India (intern in Denver, CO)
Use statements in code design
Rob Allen writing about use statements in code design. I came to the same conclusion as Rob and much prefer importing…
Integrating Front end Components with Web Applications
Maksim Surguy is writing a new book about integrating front end components with web applications. Currently the book…