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

whenever I'm stuck on how to structure some code, I ask myself how would Laravel do it? and look up their code and structure mine similarly


My story is similar, but using Laravel as the canonical example of how not to structure things. Even without Facades, the internals are an impenetrable maze of magic methods, with things like Macroable adding methods from dog-knows-where. Even adding phpdoc types doesn’t work when dealing with things like scopes.




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

Search: