Neurotic Laravel – Three space trailing comments


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.

Laravel News Partners

Laravel Jobs

Full-Stack Developer
Nu Image Medical
Senior Software Developer
Remote (US ONLY)/Kenilworth, NJ
Senior Back-end Laravel API Developer - Immediate Contract (Full Time)
ApproveMe // Document Signing
Web Development Project Manager
Houston, TX
Swyft Filings
Experienced Laravel/VueJS Developer (Freelance)
Remote (preferably in the US)
Prosperly LLC
Senior React / Laravel Developer
The C.A.S.E. Engineering Group
Software Engineer