I use plenty of javscript and PHP at work. They are poorly designed languages, IMO. (I am not an expert, but I'm familiar with many languages and I always read up on such topics)
>Jesus christ guys.
Despite the poor design considerations and wanting to kill off some of these languages, (or-rehaul them and not being able to) many of us still have to use them day-to-day. This is one of those things that convinces me that there is a God, and he's got a twisted sense of humor. I can't really explain it otherwise. :p
Regardless whether PHP is a poorly designed language, or if it has some sense of "design" at all, the website should have listed good uses of PHP. There are plenty.
I don't agree. PHP is fast, in development and in execution, and has a wide range of libraries (sort-a) built in to it. If you need the 1.000th prime number, a list of every possible name with 4 characters, or a working webpage, PHP offers it all.
Of course, if you take each case individually, you might want to consider other languages. But having to learn another ten programming languages which are slightly better for a job than PHP is, costs a lot of time and effort.
PHP is a great language, if you get used to the weird and inconsistent function names.
This is where I disagree strongly: as a programmer you should already know all ten of them [languages] and constantly be on a look out as to which of them use where. While in time my set of immediately usable for not trivial tasks languages was morphing significantly, I tried to keep my toolbox full, maintaining a solid 6 (my mind seems comfortable with that many) languages ready for work.
There are some minor points I disagree with, for example, Python, Ruby, Perl and node package managers are all very good, while PEAR is/was a pain to use (a pain: I couldn't install desired package in a minute on the first try) and so on, but it's irrelevant: what I object to is a notion that it is not worth knowing or using different tools because the one you know already "offers it all".
All I'm trying to say is, I like PHP, I use it a lot for 'daily use'. That is, programming small things for personal use. I gave some examples earlier.
And as I said, there are situations you'd think of another language than PHP, but that doesn't mean programming in PHP is a bad practice.
> but that doesn't mean programming in PHP is a bad practice
Of course not! We are agreeing on this - I'm just noting that programming exclusively in PHP (or any other language for that matter) is bad practice. I have nothing (or not very much) against PHP :)
>Jesus christ guys.
Despite the poor design considerations and wanting to kill off some of these languages, (or-rehaul them and not being able to) many of us still have to use them day-to-day. This is one of those things that convinces me that there is a God, and he's got a twisted sense of humor. I can't really explain it otherwise. :p