DEV Community

Discussion on: Why do you love Ruby, actually? An ode.

Collapse
leob profile image
leob • Edited on

Yes I'm with you there, hundred percent, difference of night and day ...

PHP pre-Laravel tended to be a hackish, sort of an old-school "Perl" style mess, but if you look at code written in Laravel style - most of it is elegant, succinct, "OO" and so on ... I also tend to prefer Laravel's utility methods like \Arr, \Str and so on over PHP's built in methods just because of their logic and elegance ... and Laravel's collections are superb (plus the Eloquent ORM, and I could go on).

I agree that Laravel seems to have really transformed the PHP world - maybe you cannot solely credit Laravel for that (there have been other positive developments in PHP) but it's a big (if not the biggest) factor in that transformation.

Thread Thread
sylwiavargas profile image
Sylwia Vargas Author

Oh, interesting — what are other positive developments in PHP? Or, is there a blogger I could refer to to catch up on PHP news? :)

Thread Thread
leob profile image
leob

Well, performance is MUCH better than it used to be, PHP 7 and 8 made big strides in performance ... one other remarkable change is the move of PHP towards typing - type declarations/type checking.

Blogs, well of course there are many, we talked about Spatie, so here you go: spatie.be/blog

What's new in PHP 8:

stitcher.io/blog/new-in-php-8

Thread Thread
sylwiavargas profile image
Sylwia Vargas Author

Cool, now I’m excited! I’ll give it a try and report back ✨ thank you!

Thread Thread
leob profile image
leob

Haha okay, yes you should be!

Laravel is a great framework with a lively community & a vibrant ecosystem, they're innovating a lot - for example, recently I came across a version that runs "serverless" on AWS Lambda (vapor.laravel.com), check it out if you're into that kind of stuff.

And remember the name Taylor Otwell, he's the creator (twitter.com/taylorotwell), you'll see him mentioned quite often.