by wyqydsyq · 10y ago · 0 comments
Laravel is the best example for this, with spin-offs in several other languages. (Fair notice: many of the ideas in Laravel are not new, but borrowed/inspired from C#, rails and others)
* Node.js frameworks inspired by Laravel: http://www.adonisjs.com/, https://quorrajs.org/
* Python: http://www.pylonsproject.org/projects/pyramid/about, https://github.com/aacanakin/glim
* Java: http://wings.loonydev.com/
and so on
In other news, the `trait` type was recently popularized by PHP and can now be found in many languages: https://en.wikipedia.org/wiki/Trait_(computer_programming)
For what it's worth I given up on PHP, after using it as my go-to language for about 16 years. I'm drinking the golang cool-aid and never coming back!
PHP lacks consistency in naming conventions, function signatures (is that a string or bitmask I'm supposed to pass?) and tons of other things.
I could write a novel about it, but there's already multiple websites/articles dedicated to PHP's inherent design flaws:
https://whydoesitsuck.com/why-does-php-suck/
https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/
Plus it's limited in capabilities compared to stuff like Node.js (or other libuv bindings), considering we get stuff like Hot Module Reloading, isomorphic/universal applications, simple websockets integration, all of which PHP is either incapable of providing or provides inferior solutions due to limitations of the PHP language or Zend Engine.
Welcome to Javascript?
Your forget what species you're talking with here, and the language you're using to communicate right now :) When has Homo Sapiens ever exerted consistency in language design?! - really, programming languages are more like tools for communication that tools for solving technical problems, and they exhibit all the flaws that you see in other communication tools made by humans...