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

laravel has too much magic that really, really, really gets in the way as soon as you get to where things become interesting. too much magic. definitely not clean. and architecture wise… well… i have just never seen a project with controllers that is well designed. and if you even advocate to use a framework with bad design choices because many others do the same… it’s still bad design & it will come back and bite you.

you should always prefer a codebase optimized for the business, the purpose & the people who work on it everyday. if that requires more time to grasp it for newcomers, perfect. people make that weird argument all the time for going with a framework due to popularity & common ground. that’s so absurd. optimizing for onboarding time & quickest graspability, when that factor is usually irrelevant in most projects.

also, the best thing about modern PHP are the PSRs. They are not appreciated enough. Stick with them. Don’t be clever. Don’t use magic. Be explicit. Don’t don’t repeat yourself. Write code like your mom reads it. Et voilá, your homemade framework is gonna be just fine.

Especially compared to projects built around frameworks by devs who very rarely if ever look at the source code of the magic they use. debugging and fixing those issues took more of my lifetime than the hours i’ve put into updating my personal web app framework (latenight-php).

Also: Choosing which tire you want doesn’t equal reinventing it. And also: thank good people reinvented the wheel so many times… imagine EVs on rolling stones or wooden wheels.



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

Search: