Hacker News new | ask | show | jobs
by inthewind 4688 days ago
The thing that irritates me the most with Php, is not being able to quickly jump around the code from class to class without some hack. While magic autoloaders are great my IDE/text editor isn't smart enough to know how to do this. You could probably write some code to help in this respect for your editor or use some other tools. It ultimately ends up that I want to hold too much of the project in my head, which is a brain muck.

I personally recommend Python over Php to newcomers because I think it's an easier language to understand and get going with.

1 comments

I would suggest that this in particular is a problem with your workflow and IDE/editor and not PHP. I've usually just kept everything open as a project in Sublime Text, works just fine. As far as the code itself goes, using PSR-0 and/or Composer makes most of the headaches with class loading just go away.
I agree about that PSR-0 and using Composer helps. But sadly not all code is written that way.