Yes, mainly because there are literal mountains of shit code that no one can debug, and all of a sudden the notion that maybe having basically one variable type is a bad thing.
Usually the compiler will scream "Hey fuckwad, your integer array ain't a string! Error on line 205", and then you dutifully go correct the error. Much better than a dynamic language that happily takes your screwup seriously and you have to follow a debugger chain through half a dozen nested functions to find where you buggered up.
PHP is productive in that it can work as a fast prototyping language. Even I recognize that, and in fact use it as such.
Where it falls down is that it doesn't enforce the kind of discipline that better languages do. It is well and truly the BASIC of the 21st century.
That's not to say you cannot write good code in PHP. I do strive when I have to work in PHP (which is more than I would like) to write well-formed code, use newer language structures and so forth. But still, and maybe it's because I like the crutch, I just feel better coding in statically typed languages, and to be pretty blunt, if PHP is evolving into that kind of language, there are far better languages out there.
This is like justifying strapping a jet engine and wings to a Volkswagen beetle insisting that because it got you to the airport, well by God, it can get you airborne as well!
Slackware had the X configuration script, but I never managed to get the config to work without further editing. I always loved selecting monitor settings with the ominous message that I could cook my monitor if I got it wrong.
I think this guy must have wrote the documentation system I was hired to debug about five years ago. Written in PHP in a very free-flowing (aka. spaghetti-like catastrophe), the guy charged the company about $20,000 bucks, and it cost them another $10,000 for me to basically scrap it and rewrite from the ground up.
There are far too many "programmers" like the parent poster, and PHP is the hurtful creature that allows them to persist.
My interpretation is that they've put a lot of work turning PHP into Java or C. Why go through all this effort when they could simply used one of the C-like strongly typed languages is beyond me. All that effort could have been put into creating a PHP-to-Java converter or something along those lines.
But hey, it's Mark Zuckerberg's bazillion dollars. If he wants to tape testicles on a eunuch, be my guest.
I've had the odd problem. A Grub update once went awry and there were a few minutes of panic while I had to reinstall the bootloader. Another fun one was a change to the Debian KVM permissions model which meant none of my guests could start. The solution was simply to reinstall the QEMU/KVM packages, but still, it was rather irritating.
Since then I've been a lot more cautious with critical hardware. Debian is great, but there are still risks to just assuming painless upgrades. My policy these days is to try very hard to leave servers at current OS versions until replacement or reinstall.
All my VPN devices and routers are built on Squeeze, and while it's not a huge deal in the grand scheme of things to upgrade, I'd prefer with devices that sit on a shelf and just work unattended for months on end to stick with stable configurations. I'm using Wheezy on my VM hosts, and have had no problems with them, but particularly with devices running at remote locations, I admit to a bit more paranoia and skepticism.
Boy I remember the old days of writing web CGI apps in C, way back in the 1990s. People would look at me like I was insane if I were to suggest writing web apps in a language that compiles to machine code. There seems to be a whole industry dedicated to declaring native apps an evil that must be extinguished.
Good thing the US has the largest and most technologically advanced navy in the world. The US, oddly enough, planned for an all out nuclear war between itself and Russia long before most of us posting here were even born.
If we do nothing, what happens to every other country in Eastern Europe that has some measurable Russian minority? Do they just get to either enslave themselves or Moscow or see their territory cut into pieces?
Explain to me how what happened in Crimea is any different than what happened in Sudetenland?
The Kosovo referendum was done with international observers, and what lead to it was Serbian aggression that, if not outright genocidal in direction, was damned close.
Double standards are what they are. Whether you, Russia or the King of Jupiter like it or not, it is not in anyone but Russia's best interests to have it absorbing up chunks of Eastern Europe based on the same flimsy arguments that Germany put forward over the Sudetenland seventy five years ago.
Moral standing arguments are nothing more than thinly veiled arguments to sit on our hands and do nothing. Well fuck you and fuck the double standard. Russia should be put under crippling sanctions, its foreign assets should be seized, its foreign nationals put on the next planes back to Russia. At some point the oligarchs that Putin relies on for his powerbase will blink and then we can back to reasonable talk, without Russian forces sitting in a state that Russia itself guaranteed the territorial integrity of twenty years ago.
I'll remember that the next time I'm navigating the horror that is the PHP function library.
I think I just went blind!!!!
So not much different than PHP then...
(ducks)
Yes, mainly because there are literal mountains of shit code that no one can debug, and all of a sudden the notion that maybe having basically one variable type is a bad thing.
A goodly portion of the young developers don't really know what the word "compile" means.
Usually the compiler will scream "Hey fuckwad, your integer array ain't a string! Error on line 205", and then you dutifully go correct the error. Much better than a dynamic language that happily takes your screwup seriously and you have to follow a debugger chain through half a dozen nested functions to find where you buggered up.
PHP is productive in that it can work as a fast prototyping language. Even I recognize that, and in fact use it as such.
Where it falls down is that it doesn't enforce the kind of discipline that better languages do. It is well and truly the BASIC of the 21st century.
That's not to say you cannot write good code in PHP. I do strive when I have to work in PHP (which is more than I would like) to write well-formed code, use newer language structures and so forth. But still, and maybe it's because I like the crutch, I just feel better coding in statically typed languages, and to be pretty blunt, if PHP is evolving into that kind of language, there are far better languages out there.
This is like justifying strapping a jet engine and wings to a Volkswagen beetle insisting that because it got you to the airport, well by God, it can get you airborne as well!
Slackware had the X configuration script, but I never managed to get the config to work without further editing. I always loved selecting monitor settings with the ominous message that I could cook my monitor if I got it wrong.
I think this guy must have wrote the documentation system I was hired to debug about five years ago. Written in PHP in a very free-flowing (aka. spaghetti-like catastrophe), the guy charged the company about $20,000 bucks, and it cost them another $10,000 for me to basically scrap it and rewrite from the ground up.
There are far too many "programmers" like the parent poster, and PHP is the hurtful creature that allows them to persist.
It allows you to free your mind, express your inner coding monkey artist.
And then you get to debug...
My interpretation is that they've put a lot of work turning PHP into Java or C. Why go through all this effort when they could simply used one of the C-like strongly typed languages is beyond me. All that effort could have been put into creating a PHP-to-Java converter or something along those lines.
But hey, it's Mark Zuckerberg's bazillion dollars. If he wants to tape testicles on a eunuch, be my guest.
I've had the odd problem. A Grub update once went awry and there were a few minutes of panic while I had to reinstall the bootloader. Another fun one was a change to the Debian KVM permissions model which meant none of my guests could start. The solution was simply to reinstall the QEMU/KVM packages, but still, it was rather irritating.
Since then I've been a lot more cautious with critical hardware. Debian is great, but there are still risks to just assuming painless upgrades. My policy these days is to try very hard to leave servers at current OS versions until replacement or reinstall.
All my VPN devices and routers are built on Squeeze, and while it's not a huge deal in the grand scheme of things to upgrade, I'd prefer with devices that sit on a shelf and just work unattended for months on end to stick with stable configurations. I'm using Wheezy on my VM hosts, and have had no problems with them, but particularly with devices running at remote locations, I admit to a bit more paranoia and skepticism.
Boy I remember the old days of writing web CGI apps in C, way back in the 1990s. People would look at me like I was insane if I were to suggest writing web apps in a language that compiles to machine code. There seems to be a whole industry dedicated to declaring native apps an evil that must be extinguished.
Parent is fucking retarded he believes the universe must bend to his sociopathic ideology. Mod -10 "evil halfwit"
Parent is a Koch drone with the brains of a rotting peanut and the moral standing of a murderous pile of excrement. Mod him -10 "fucktard"
Back to hiding -1 posts.
Good thing the US has the largest and most technologically advanced navy in the world. The US, oddly enough, planned for an all out nuclear war between itself and Russia long before most of us posting here were even born.
I might also add that the Kosovo referendum lead strictly to independence, and not to Kosovo being swallowed up by a large neighbor.
If we do nothing, what happens to every other country in Eastern Europe that has some measurable Russian minority? Do they just get to either enslave themselves or Moscow or see their territory cut into pieces?
Explain to me how what happened in Crimea is any different than what happened in Sudetenland?
The Kosovo referendum was done with international observers, and what lead to it was Serbian aggression that, if not outright genocidal in direction, was damned close.
I'm not clear here, isn't that the purpose of TCP/IP?
Take a pill, pal. No one is launching nuclear weapons.
Double standards are what they are. Whether you, Russia or the King of Jupiter like it or not, it is not in anyone but Russia's best interests to have it absorbing up chunks of Eastern Europe based on the same flimsy arguments that Germany put forward over the Sudetenland seventy five years ago.
Moral standing arguments are nothing more than thinly veiled arguments to sit on our hands and do nothing. Well fuck you and fuck the double standard. Russia should be put under crippling sanctions, its foreign assets should be seized, its foreign nationals put on the next planes back to Russia. At some point the oligarchs that Putin relies on for his powerbase will blink and then we can back to reasonable talk, without Russian forces sitting in a state that Russia itself guaranteed the territorial integrity of twenty years ago.