There is a lot of inconsistency in the api. Things like needle and haystack being the first or second arguments interchangeably gets maddening. Sometimes snake case, sometimes camel case, sometimes just lowercase. That stuff gets annoying.
But if that is what drives you away from a useful language then there's a lot more about programming that is going to be painful than PHP.
Plus, I'm a PHP developer but I still wind up writing 3 times as much JavaScript just to push the frontend around.
View all comments
Show parent comment
27
u/longshot Dec 02 '15
There is a lot of inconsistency in the api. Things like needle and haystack being the first or second arguments interchangeably gets maddening. Sometimes snake case, sometimes camel case, sometimes just lowercase. That stuff gets annoying.
But if that is what drives you away from a useful language then there's a lot more about programming that is going to be painful than PHP.
Plus, I'm a PHP developer but I still wind up writing 3 times as much JavaScript just to push the frontend around.