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

What isn't fake is that Laravel uses magic methods everywhere, especially in the ORM layer.

There are way too many magic things happening under the hood for my taste.



Magic methods in PHP are very commonly used to help reduce code verbosity - having come from working mostly in C++ I appreciate being able to express things succinctly.


Much more important for code, especially library code is readability


Laravel is moving away from magic methods to using facades, FWIW.




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

Search: