Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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/Connectio... - looks like each one is 3 characters shorter.



I 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)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: