9 ms·
Pretty sure Laravel source code comments above functions were always something like 3 lines, with each line slightly less length than the previous one. Not sure
by howToTestFE 18d ago
Pretty sure Laravel source code comments above functions were always something like 3 lines, with each line slightly less length than the previous one. Not sure if this is still done or enforced at all, but it was always neat to see.
Here is an example - https://github.com/illuminate/database/blob/master/Connection.php#L232-L234 https://github.com/illuminate/database/blob/master/Connectio... - looks like each one is 3 characters shorter.
- KerryJones 18d agoI think about this all the time. The first several years of Laravel had just absolutely beautiful code to see (both from an engineering, OCD and aesthetic perspective)