Hacker News new | ask | show | jobs
by nirui 20 hours ago
It really depends on what you mean by detail.

Laravel uses autoloading (so as most other PHP frameworks), and magic methods (https://www.php.net/manual/en/language.oop5.magic.php) etc, which are features of PHP language.

Of course you can replace most of them, for example, swap `__get` with a manually implemented `.get`, but then you're talking about general programming patterns, not language/framework any more.

For Go specifically, it don't have class method override or even class, the `struct` embedding works a little bit differently. So at least that part will be different, and the difference will probably water fall all the way down to the point it effects how user use the framework.