r/programming • • Dec 02 '15

PHP 7 Released

https://github.com/php/php-src/releases/tag/php-7.0.0
887 Upvotes

729 comments sorted by

View all comments

Show parent comments

57

u/mgkimsal Dec 02 '15

i worked with a php-skeptic who warmed to it after a few months. "Meh, it's not really all that bad once you get in to a groove".

Conversely, I've found the hype around the 'trendy' stack (rails years ago, node today) is the reverse. Sort of like "meh, it's not all that great when you get down to it - not bad, but not a life saver"

2

u/pBlast Dec 02 '15

For me the opposite is true. I used to do PHP all of the time and still use it occasionally use it and over time I have become increasingly convinced that PHP is bad while in using Ruby and Rails I increasingly see how useful they are.

PHP is pretty bad due to the lack a coherent design and you never really get into a groove, you just kind of memorize some of its oddities.

3

u/mgkimsal Dec 03 '15

Build websites with plain Ruby, then compare it to PHP.

If you're going to use Rails, compare against mature PHP frameworks. Not fair comparison otherwise.

1

u/pBlast Dec 03 '15

PHP was designed specifically for building websites without a framework whereas Ruby is a general purpose language that was used to build a framework. That is not a fair comparison on your part.

I am fully aware that there are mature frameworks in PHP that are comparable feature-wise with Rails. However, that does nothing to change the fact that PHP is not just poorly designed, it is lacking in design altogether. The language itself has little in the way of built-in object oriented functionality. To make matters worse there is not consistency in the way functions are named, accept parameters or generally behave.

→ More replies (5)