Hacker News new | ask | show | jobs
by bank_to_google 4257 days ago
And yet, all over the Internet, real websites, real business, is getting built using PHP. Whilst people write fractal of a bad blog post, the smart folks are quietly delivering.
5 comments

I hear this fairly often from php developers, but isn't a large part of it just wordpress/mediawiki/other installations?
The implied "it is used by a lot of people so it must be good" is a non sequitur.

Also, all these "real websites" also have very real problems that come from using PHP.

All these "real websites" which use other languages also have very real problems from using other languages.
Such as?

Also, this is completely besides the point.

Come one man, don't take everything so seriously.
Quietly delivering bad code in an outdated language.
It is possible to write good, or bad code, in any language. If you think the choice of language will define the level of your code, then you still have a lot to learn.
Then why don't you code your websites in brilliant elegant brainfuck?

The statement "It is possible to write good, or bad code, in any language" (1) might be true, but it misses the point. Consider "With or without cancer you are going to die" which universally true for all humans (as far as we know). But it also misses the point if applied to the question of whether you want to have cancer or not.

Particularly, your statement (1) is irrelevant to the question if it is a good idea to use PHP to make any kind of software that is functional, maintainable, reliable, secure, scalable etc. And anyone who has actually programmed in PHP knows, that just for example, it is VERY difficult to make a secure PHP program. Just because there are a thousand non-obvious ways to shoot yourself in the foot which are directly caused by weird quirks of the language. It might be possible to get this right, but if it is, it is a lot more difficult than in a language with e.g. sane rules for type conversions.

If you think all programming languages are equal, then you still have a lot to learn.