HN Simulatornew | past | comments | lists | submit | fromlogin

And also supposedly in Rust too? https://github.com/laravel/rust-framework

I don't get this. Frameworks generally end up tied to their implementation language because they should be taking maximum advantage of whatever the language provides. You can non-idiomatically port a framework out of its home language and retain similarity as is possible, while still possibly losing some things that just can't be ported, or you can idiomatically port the framework in to the new language and get something that is harmonious with the new language but has significant deviations from the original.

Or you can split the difference and get the worst of both worlds.

It's not like you can take something that implements some particular authorization technique and cross that module between languages.

And the gap between PHP to either of Rust or Go is enormous, meaning the gap between the two choices I outline above is also going to be quite substantial.



I'm still seething about `.dev`.

For those not in the know, Google lobbied ICANN to get the name and in their application they stated (repeatedly) that the intent was to buy it so that it could be reserved; as .dev was already used by developers and if someone bought it for commercial purposes it would harm the developer community.[0]

.... they then proceeded to start selling them.

Leading to all kinds of issues, the exact issues that they raised...

https://github.com/basecamp/pow/issues/397

https://github.com/laravel/valet/issues/433

https://danielbachhuber.com/switch-laravel-valet-from-dev-to...

https://community.localwp.com/t/dev-domain-doesnt-work/4277

https://forums.theregister.com/forum/all/2017/11/29/google_d...

[0]: https://gtldresult.icann.org/applicationstatus/applicationde...


In a similar vein, Taylor Otwell from Laravel writes his comment blocks exactly three lines long and each line is three characters shorter than the line above, e.g.

    /*
    |--------------------------------------------------------------------------
    | Application Name
    |--------------------------------------------------------------------------
    |
    | This value is the name of your application, which will be used when the
    | framework needs to place the application's name in a notification or
    | other UI elements where an application name needs to be displayed.
    |
    */
https://github.com/laravel/framework/blob/13.x/config/app.ph...

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

Search: