3 ms·
Anything PHP can do, another language can do better.
by jchook 14y ago
Anything PHP can do, another language can do better.
- lucb1e 14y agoReally? Hmm I should do a weekend project for code battles...
- Laloeka 14y agoI 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.
- klibertp 14y ago> costs a lot of time and effort 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".
- Laloeka 14y agoAll 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.
- klibertp 14y ago> 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 :)