5 ms·
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 le
by polysics 13y ago
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.
- girvo 13y agoIt'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 :)
- venomsnake 13y agothe 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.