Re:High Quality PHP
by polysics on Tuesday December 24, 2013 @09:13AM
(#6959383)
I left PHP about 3 years ago, and I have recently had to look into it again due to a new course I am preparing to teach.
The PHP I knew is no more, and it is leaps and bounds ahead of what it used to be.
But using Drupal as an example is really a bad choice.
Talk about Laravel, Composer, new language features, but not crappy giant codebases.
[ Parent
| on HN ]
It's great isn't it? Variadic functions is about to land, as is splats, and some other neat features like "use function", which will mean a simple module setup with namespacing without classes. Oh and phpdbg built in!
I went to leave PHP this year, and didn't end up doing it, because of how much has changed lately. It's a good language, with awesome tooling know. I can write well-tested, easily readable, maintainable code using small composable libraries, and big frameworks when needed, without fighting against the dumb parts of the language. It makes me happy :)
Re:High Quality PHP
by venomsnake on Tuesday December 24, 2013 @10:20AM
(#6959663)
the main problem with that is that most of the big php deployments are moving at their own pace. So ... anything new can trickle down in years. And you rarely have the luck of finding clean slate php project nowadays.