back to article Microsoft arms half-wit developers with PHP handgun

Terrible things are about to happen in Microsoft's web application hosting environment, Windows Azure. Redmond's Slugworth, desperate to keep up with Mountain View's Chocolate Factory, has introduced support for PHP on their web application platform. Microsoft's Windows Azure is a competitor to Google App Engine and is trying to …

COMMENTS

This topic is closed for new posts.
  1. Daniel Palmer
    Flame

    Mostly drivel and poor analogies.

    What basically comes out of this article is that the author doesn't like PHP. That's about it.

    Oh, and the author doesn't like FastCGI too. Blah blah. Microsoft implementing FastCGI somehow makes them bad but google only supporting heavy weight languages like Java and Python is fine?

    With Java at least the point regarding PHP running under FastCGI keeping processes running is pretty moot you should have realised,... Java also requires that a few processes are kept running i.e. a JVM. Also I have a feeling keeping the processes running is so that your users don't have to wait for PHP to start up every time they make a request.

    >Yahoo would never have happened.

    I think back in the day, when Yahoo actually meant something, most of their stuff was written in Perl.

    >then there would be no Digg

    They would have written it in Perl instead.

    Meh

  2. David Wilkinson
    Thumb Down

    Feeding the Trolls at the Register

    Lets make an analogy. Lets say a guy with little construction skills uses a hammer to build a crappy dog house.

    He's happy, the dogs happy ... but you are skilled construction worker and you are upset that he didn't use a nail gun, didn't get building permits, didn't hire a carpenter and a structural engineer.

    In fact all dog houses should have a cement foundation, steal beams, .... you know this because you build skyscrapers and you know what you are doing and no one else does.

    Grow up.

  3. Daniel Durrans
    Flame

    My X is better than your X

    My car is better than your car

    My dad is better than your dad

    My house is bigger than your house

    My mac is better than your PC

    My operating system is better than your operating system

    My programming language is better than your programming language

    You get good developers and bad developers regardless of the language they use. So you hate PHP. Great, good for you. But without it there would be far less innovation on the web due to a higher barrier of entry. However you would still get badly written, unscalable applications no matter what language you are using.

    Your mum is better than my mum.

  4. Gareth Holmes
    Gates Horns

    "you must be this awesome to ride"

    Ted might not like PHP much, or more accurately the clownfest that will most likely occur when someone like MS "open up" to PHP, but he certainly made me chuckle through my bank holiday breakfast.

    Don't get me wrong, I used to code in PHP, and still do on occasion. I like the language but I don't think Ted is on the thinnest of ice when he takes a pop at PHP developers for have a high percentage of interwebz for dummies readers.

  5. Andraž Levstik

    Do not feed the troll

    Rofl.

    This piece got me laughing so hard. I won't comment on this language vs. another since nothing in this article warrants that kind of thought. It's a good quality joke. But beyond that it has zero value.

    Maybe PHP isn't the best but so isn't Perl or Python(whitespaces anyone) as is Ruby...

    There is no one true uber language. There never will be. Different uses different means etc...

    So have fun and thanks for this great joke of the day... And not even friday...

  6. Anonymous Coward
    Boffin

    Oh boo freakin' hoo

    Are the bad men who don't have years spare to learn your chosen programming language using your interwebs? Does the idea of a programmer who isn't utterly "elite" scare and confuse you? I think the correct term for you, sir, is "technical prima donna". I laugh in the face of your pointless pretention and call your article a silly thing. You sound like the boy racer of coding- not entirely sure why the induction kit you've stuck on your car makes it faster, but you're pretty sure it does.

    And what, pray tell, is wrong with most of the stuff that you wrote about earlier? So long as it's functional it's fine. And if you commit the oh-so-heinous crimes detailed in the article, surely you're that bad a programmer that you'd not be let into a position of any real programmy influence?

    Finally, before this erupts into an outright flame, remember that the popularity of the computing industry is based on it's accessibility. That's why Linux hasn't taken over yet and why Apple gets away with charging a premium for IT Duplo. And the ability to write apps- to make a computer do what YOU, as the user, want it to do- is anothe big draw. So you need accessible ways of writing apps.

    If you don't like it or if it's crap, don't use it. No-one's forcing you.

  7. John Smith Gold badge
    Thumb Up

    Microsoft SOP surely

    "The great draw of PHP is that it allows less experienced programmers to solve small problems quickly"

    AFAIK MS has always sold its development tools on the hello-world-is-just-2-lines-of-code routine, neglecting the small mountain you'll climb to wade through all the docs, "features" and actual (but not admitted) bugs to do anything significant.

    MS have been convincing programmers that with *any* of their tools any project is a piece of cake, despite the inappropriateness of the package. (AI in COBOL, with Developer Studio its a snap). No change there then.

    Although an admirably restrained piece from Ted.

  8. Wibble
    Happy

    PHP ~ professional?

    Have to agree. As a professional developer, I often see a trend for neophytes to use PHP without any understanding of the art of coding. It gets rather disconcerting to hear that they can implement the world in a few minutes, until you see the results.

    Bit like Access. Say what you like about it, but it is a useful little database for smaller web applications. The problem is when put in the hands of someone with no knowledge, it runs like a dog. In the hands of someone experienced with building database applications, Access is fine.

    With so many numpties opting for Azure, its performance will no doubt suffer.

    Question: will Microsoft get the blame, or will they work like Billy-oh to put in more servers? Two-edged sword you see.

  9. Ian Ferguson
    Thumb Up

    Heheheh

    I'm sure the PHP fanboys will descend with their flamethrowers, but it's still a good article :D

  10. DeepThought

    PHP is just right

    I was asking one of my top tech leads who is called in to tune large (20+ server) web applications (typically .NET), what was his favourite language. He said he was quite impressed with PHP.

    In contrast to the author, I think .NET is much more dangerous in the hands of novices. Instead of a handgun, it's like letting them loose with the USS Enterprise.

  11. Matware
    Paris Hilton

    OMFG Python and Java heavy weight languages!!!@@!

    I'm sorry, writing your web app in straight up K&R C and Berkley sockets would be a heavyweight. Or fcuk it going a functional language like Haskell just to screw over who ever has to maintain it would be laying down the law. But no, Java and Python are happy sandboxed playpens of where you actually have to plan and scheme to graze a knee, and PHP is just VB for Gen Y .

    Don't know why I needed to rant this but the word heavy weight almost make me choke.

  12. Thomas Vestergaard
    Stop

    And another one takes a swing at Java...

    @Daniel Palmer. The JVM that is kept running as a of part of the server. Everything with regards to the actually assembly of the response is passivated to cache (when, obviously depends on your caching strategy). For a site with a large number of requests Java is more efficient than PHP by a long shot.

    The inertia people experience with Java comes in the first part of a deployment, where heavily used classes still needs to be JIT'ed and translated into native machine code. (This is also why lots of CS students fucks up their performance analysis in Java.)

  13. Anonymous Coward
    Anonymous Coward

    Does this article have a point?

    As you say, PHP is a tool. When planning a project, one picks the best tools for the job. PHP is flexible and very well supported both in terms of documentation and APIs. This makes it an ideal solution for providing a front-end to multiple back-end systems. In fact, I can't think of a decent alternative for writing a web based GUI except for MS's tortuous, expensive offerings.

  14. James Foreman

    Is Ted sick? Replaced by an imposter?

    Where's all teh sweary?

    Come on Ted, a bit more obscene language or nobody will know what to put in the comments. A bowlderised Dziuba is like a lucid manfrommars.

  15. lennie
    Coat

    really?

    "which means they both fail at failing.

    It's mathematically complete." um, faill and failling is a negative and a negative right? in math that would make a positive. for MS, thats a good thing, no?

    mine's the one with the php hand book in the right pocket.

  16. Ronan Quirke
    Thumb Up

    Thanks for the tip

    This is exactly the sort of hosting I need for my new website which I wrote in an hour last night. it combines Twitter, Youtube, Ebay and Facebook, and I wrote a new CMS for it too.

  17. Anonymous Coward
    Thumb Up

    Yup, PHP sucks. So does PERL

    I've gotta agree with him.

    I've seen so many crap projects "written" by "developers" in these languages that I just plain refuse to support anything written in either. My boss doesn't have enough money to pay me to do that.

    Perl is about as write-only as APL. I have yet to see Perl code that's not part of the official distribution that's actually readable and maintainable. Monkeys throwing shit at a wall comes to mind.

  18. Chris Thomas
    Thumb Up

    @Daniel Palmer

    In some respects you're obviously correct, others you miss the point.

    PHP is a car crash of a language when compared to other languages, the language has almost no structure or what structure it does have is built like a skyscraper using duct-tape, sure it's 100 storeys high, but holy shit WTF have you done????

    As for most programmers, they are awful, in my entire 10 year programming experience, I have seen ONE project that was written "correctly" as in (incidentally, it's my current project), didnt look like a pile of shit, sql everywhere, dead bodies by the roadside that nobody knows how or why they are there.

    I think a lot of people can resonate with what ted is saying here, that by far, PHP has the worst programmers of almost any language except VB, the only reason we use it is because like ted says, in the hands of RESPONSIBLE people, it can be used properly, it's just that 99% of people are not in that category.

    So whilst he does blow things up, he is also correct in what he has said. At least give him the benefit of the doubt before replying.

  19. Tom Silver badge

    A bad developer always

    blames his tools.

    PHP has its quirks but ignorance and stupidity are not built in - as in most languages that has to be supplied by the developer.

    "The great draw of PHP is that it allows less experienced programmers to solve small problems quickly, which is great for people who aren't in the business of making web applications."

    Replace PHP with MS and I wouldnt argue with you.

  20. Anonymous Coward
    Flame

    I'm sure the flames are coming......

    But in spite of the fact that I once (for a brief period in the late 90s) did a little, very poorly coded work in PHP, on a intra company IRIX webserver (and yes I even used MySQL.... the HORROR!)... I do have to say this is the funniest paragraph I've read on El Reg in a long while:

    "For those of you that aren't web developers, this is a bit like trying to kill a person with a rifle by clubbing them in the foot with it, hoping that they the blunt end of the weapon will break the skin somehow, and your victim will die of an infection because he's in a place so remote that there's no access to antibiotics."

    and by the way, some 10 years later, the application I wrote is still running with zero administration on the same hardware (with only one service call to me 5 years ago) since they laid off all their engineers..... but I'm sure it doesn't scale.

  21. Dave Silver badge

    @Daniel Palmer

    Oh dear, not quite got your weekend head on any more have we?

    Nice article. Keep it up.

    Does make me wonder if MS are doing this just so they can turn round in a year or three and say: "Look, we always told you that ASP was better than PHP, what did you expect? Time for an upgrade and a re-write."

  22. jake Silver badge

    Bad similes. Again.

    "You see, PHP is like a handgun. On its own, it is simply an inanimate tool that has no moral leaning. In the hands of a responsible citizen, it can be used to the benefit of society. But in the hands of someone who is untrained or mentally unstable, it can be used to commit horrible atrocities."

    Ted, you are an idiot. PHP *is* crap, don't get me wrong, but equating it with a tool that can do physical damage to people when in the hands of a psychopath is wrong. Software doesn't hurt people, hardware does.

    On the other hand, there is no such thing as software ... so-called "software" is merely the current state of the hardware. Maybe I'm the idiot ;-)

    Half-wit developers, on the gripping hand, are half-wits regardless of language. And there are a plethora of half-wits out there claiming to be WWW developers ... Follow any link provided by Metacrawler's "metaspy" to see a wide range of examples.

    As for google being English & microsoft being American ... That simile is just plain deranged. Both are the epitome of "ugly American". I speak as a Yank educated in England.

  23. D Fife
    Thumb Down

    Utter nonsense

    Where did you drag this author up from? PHP is a rich and powerful language with immense possibilities. Citing its use by the underqualified is like trying to say that vehicles should be banned because some drivers are idiots. PHP has quickly become one of the backbones of the web for very good reasons - and not just because it eases the learning curve for newbies.

    I really fail to see any part of this article that makes sense or is based in any kind of reality. IT is a heavily biased article from someone who clearly doesn't know what they're talking about. This is a good example of someone decrying something because they don't understand it. It's synonymous with burning people as witches in the middle ages because they were left handed.

  24. fluffy

    Regarding Yahoo,

    In their years of relevancy, their server components were all written in C++ (most of the site) and LISP (their horrible storefront service); since then they have apparently migrated to PHP and C++, respectively.

  25. Anonymous Coward
    Flame

    A thinly veiled excuse to have a go at PHP.

    Oh, look! Microsoft have released some marketing bullshit about scalability! Hey, I've got a good idea, why don't I slag off PHP?

    Maybe next time you could actually report on Microsoft's new announcement instead of using it as an excuse to complain about people learning PHP. Personally I like the fact that PHP allows more people to dip their toe in programming. Yes they can make a mess of things but they have to learn somehow. Or do .Net, Java, Python, et al have a method you can call to clear your code up? this.fixMyCode(badCode)?

  26. amanfromMars Silver badge
    Alien

    Stable horse bolted close door?

    "For those of you that aren't web developers, this is a bit like trying to kill a person with a rifle by clubbing them in the foot with it, hoping that they the blunt end of the weapon will break the skin somehow, and your victim will die of an infection because he's in a place so remote that there's no access to antibiotics." ..... which is bit like going to remote foreign and backward lands with high tech weapons and low level grunts to stir up hornets' nests of resentment at the violent sacrifice and unwelcome pillage, whilst one's own homeland is in Ignorance Meltdown and its Capital Operating System is in Arrogant Crisis and Terminal Decline.

    Which does raise the not Inconsiderable Question of Microsoft's Culpability for the Present and its Global Woes....... although they could always blame their Employees/Programmers, for without them would Billy Boy be Nothing.

    And obviously Lead Intelligence at Microsoft in their Closed Loops/Executive Offices is now exhausted. ........ and that makes Microsoft Virtual Vulnerable to Hostile Predators and Asset Strippers.

  27. Anonymous Coward
    Flame

    Another load of fail from a failure

    A handgun has one purpose - to kill. It has no benefit to society, no redeeming features; it is an instrument of death and destruction pure and simple.

    PHP (love or hate it) is not a instrument with the sole purpose of death or destruction, it is just a programming language and thus completely neutral. A particular PHP program may, though, be an instrument of death or destruction.

    The fact that the author seeks to demean and belittle the many thousands of deaths every year from handguns, merely to grind his pathetic geek-axe against some perceived injustice, is disgusting. It is a further debasement of humanity for him to try and claim that a handgun is some kind of benefit to society, when we all know that all increased handgun ownership means is increased deaths and not increased safety.

    The logic (in the loosest possible sense) that underpins his analogy is so twisted and weak that the rest of the article reads like a six year-old having a tantrum. What happened, did mummy take his dummy teat away? Or does he just have no clue what he's talking about? Or both?

    Regardless of the language, platform or design pattern; a worthless programmer will write worthless code. No getting away from that. Will Azure's PHP support allow people to write mince? Sure. Does Java allow people to write mince? Deffo. Does C? You bet your arse.

    The language is not at fault, it's the idiots who code it. A bit like the metal is not at fault for being a handgun, merely the idiot who made it. And a bit like it's not the fault of the words for being in such a useless article.

  28. Rory Milne

    RE: Mostly drivel and poor analogies.

    > What basically comes out of this article is that the author doesn't like PHP. That's about it.

    To be fair, his parting shot does make it clear that he doesn't like MySQL either. Mind you, not sure if it's MySQL users he doesn't like, MySQL itself or both.

    Wow, think this is the first article I've read on the Reg that could pass for a post from a troll.

  29. Daniel Palmer
    Flame

    @Everyone

    @Chris Thomas

    You can make just as many mistakes with Java as you can PHP. Actually PHP doesn't let you hang yourself in some ways that Java (When I say Java, I really mean the JVM/Application servers everyone is using) will, as far as I know neither modphp or php running under fastcgi allow for threads that can each call methods within the same instances of your classes and thus can cause everything to shit over itself if your code isn't thread safe. If you're writing bad PHP code it's probably best you stick to that instead of trying to forge even worse Java or Python wouldn't you say?

    @Matware

    C would be lightweight. You could write your own http server and business logic in a tiny amount of code compared with Java or Python (Your code + Runtime). Also, all your code would be machine native, so would run a sight quicker too. But.. would you want to maintain it?

    Java and Python both have huge support libraries that make it Easy to get stuff done(TM). Heavyweight != Hardcore. Hardcore would be writing the OS, TCP/IP stack and HTTP server and business logic in assembly.

    @Dave

    Well, my timezone is a good 6 hours ahead of the UK. Still there's nothing that saves this article.

    @All

    I've never said PHP was any good. But jumping on the back of something Microsoft are doing to poo poo PHP is a little childish.

    @The author

    You could run PHP on Google's stack using Quercus...

  30. Anonymous Coward
    Anonymous Coward

    @fluffy

    Yahoo's old codebase may have been compiled with a C++ compiler, but very little of it was really C++ code - it was mostly pure C. And shit C at that. On my first day at the company I fixed a classic string format vulnerability that had been written by someone who was supposed to be a senior developer - this wasn't a random fuck up, it was par for the course. I quit the company in disgust after three months, having joined thinking I'd be working on a well written, documented and designed system. With this in mind, it came as no surprise when they switched to PHP, as it matches the anarchy of the whole company.

  31. Anonymous Coward
    Anonymous Coward

    Can't comment on PHP, but...

    Although I haven't really played with PHP much so can't comment on how good/bad/ugly it is compared with what i usually code in, supporting it doesn't sound like much of a MS fail to me.

    IF IT DOES encourage people to write horrifically inefficient code, that's pretty convenient if i just happened to be selling an app-hosting solution where i'm charging people based on their processing requirements.

    A spot-on business model from MS and a fail for whoever's paying those Azure hosting fees I think.

  32. Anonymous Coward Silver badge
    Anonymous Coward

    at least this awesome?

    PHP has always struck as a language for people who think that Perl is a bondage and discipline language, Ada with weird symbols. Not my first choice, but with a little care one can get something that not only works but makes sense months later. One can also code thousand-line atrocities without subroutines or loops, and requiring 'register_globals' to be true.

    And what exactly is so awesome about Python? Remembering the indentation levels? Are the three letters IDE (or five, emacs) as dangerous as the three PHP? Heaven knows I prefer Python to PHP, but I don't know that anybody stands in awe of me--certainly I don't.

  33. Anonymous Coward
    Happy

    What's a Slugworth?

    ... and how many Henways is that?

  34. Anonymous Coward
    Anonymous Coward

    There is a difference

    ...between doing it fast and doing it right. Unfortunately in business you usually have to do it fast. Live with it.

  35. Daniel Palmer
    Thumb Down

    @Thomas Vestergaard

    @Thomas Vestergaard

    N.B. I never actually said anything negative about Java...

    >The JVM that is kept running as a of part of the server.

    In a Java application server the JVM is running the whole show, no JVM no Webapp full stop. Which is fine if your application is meaty enough to warrant having an application server around... if you're doing what probably 90% of PHP scripts do, which is replacing variables with text from a MySQL database, you probably don't need a whole Java EE stack around. ;)

    > Everything with regards to the actually assembly of the response is passivated to cache

    That depends on your application/application server... again, nothing against Java (I've been building a large application on top of Glassfish for the last year..) the exact same things exist for PHP. Look at xcache for example.

    > The inertia people experience with Java comes in the first part of a deployment,

    Yes, all the deployment stuff is nice in Java/<Insert some application server here>, but you don't need that stuff for most of what PHP is used for.

    > where heavily used classes still needs to be JIT'ed and translated into

    > native machine code.

    I'm not sure that any JVM has the ability to compile all code down to machine code. From what I've read Sun's hotspot compiler does stuff like unrolling loops, and does compile "hotspots" down to native code where it can, but it's still a great leap away from being 100% native code. That's not to say you can't compile Java down to machine code,.. but not really in this scope. PHP does nothing clever and basically boils down to a great being switch statement that calls a bunch of FOSS libraries, but for a good deal of web 2.oh no applications that's all you need.

    Anyhow, after all that... where did I say anything about Java being slow?

  36. Steen Hive
    Joke

    PHP Horrors

    I've seen and had to maintain plenty of, but without fail the most horrific software abortions I have ever come across in terms of maintainability, understandability, code-reuse, performance and just general fucked-up obtuseness have been bespoke enterprise apps written largely in - you guessed it - Java.

    I'll sort a bowl of spaghetti procedural code rather than a badly designed inheritance anyday.

  37. Adam Williamson
    Thumb Down

    @Chris Thomas

    "As for most programmers, they are awful, in my entire 10 year programming experience, I have seen ONE project that was written "correctly" as in (incidentally, it's my current project)"

    Ah, the classic "everyone sucks but me" approach? Historically speaking, the occurrence of such cases is very rare...how about you go back to your project in ten years and see what your successor thinks of it. In my experience (not being a coder, but talking to a lot of 'em) they mostly all think each other's code sucks.

    And to Ted - I suppose you're thinking of a fairly well-educated Englishman. Who was brought up proper. And isn't currently drunk. Which rules out most of 'em! (rimshot, please...) All the rest would already have murmured something unintelligible about Redmond and Mountain View and glassed the American with the remains of their pint of Special Brew before he'd ever got the chance to punch them in the face...

  38. Marcel Esser

    Good PHP programmers...

    ...are just as plentiful as good Java programmers. Conversely, bad Java programmers are just as plentiful as good PHP programmers. The difference being, bad Java programmers are 2nd year CS students or working as codepeasants at monlithic corporations, which bad PHP programmers are photographers and design majors.

  39. Charlie Clark Silver badge
    Thumb Up

    Nice one, Ted

    Always nice to diss PHP and MySQL even if it is like grooming fish in a barrel. There are plenty of wonderful websites out there running both and plenty of programmers blissfully happy with them. They're still both shit and shit*shit when used in combination. Then again Django, while usable, is still just CGI stuff.

    As for Azure & App Engine. I'm not sure if scalability per se is the real sell. I thought it was more of the pay as you grow billing side of it that people were interested in.

  40. Don Mitchell

    A Cloudy View

    If you want to get a real idea of what Amazon, Microsoft and Google are trying to offer, look at Berkeley's paper on cloud computing:

    http://www.eecs.berkeley.edu/Pubs/TechRpts/2009/EECS-2009-28.pdf

    I don't think the author of this article really comprehends that Microsoft and Amazon are not just offering a scripting service like Google, they are offering virtual computing resources that can be used to run almost anything the customer wants. It's hardly their fault if customers chose to pay for resources and then use them to write bad code.

  41. Andrew
    Go

    Title.

    He's no Otto, but he's getting better.

  42. Piers
    Happy

    this.fixMyCode(badCode)

    this.fixMyCode(badCode)

    this functions is wat i needs.

    pls post the link or pm me wer i can gets this code?

    it in the javas or php?

    pls heklp

    <Classic!>

  43. E
    Thumb Down

    Ted knows flame baiting...

    if you swap the instances of the strings 'PHP and 'Python' you'll get the exact same article except it will irritate the Python users.

  44. Anonymous Bastard
    Thumb Up

    This is a good thing

    Equip the bad programmer's with handguns, group them in one place where they can shoot themselves, each other and microsoft collectively in the foot. And anyone left over can happily avoid them.

  45. Fenstar
    Thumb Down

    Irrelevant

    A pretty poor piece of 'journalism'. If this hack knew anything outside his cloudy bubble of experience and had maybe read just the first 3 Google results for "PHP scalability", he'd know that PHP scales well. It has been proven so many times now.

    If a PHP application appears to not be able to cope under big loads, it'll most likely be the data storage engine to blame.

    This is dated flame baiting, not something I'd expect from the Register to be honest.

    It's interesting that the most mature responses in this comments section so far have been from people defending PHP.

  46. David Wilkinson

    Quality of PHP Code ...

    I'd also like to point out that good developers often write very bad code.

    There are a lot of programmers who know how to refactor messy code and properly comment, document and test everything ... but are not given the chance.

    In the real world sometimes its better to have 6 projects completed in a fast and sloppy manner than 3 completed by the book.

    Its all about balancing priorities and compromises.

  47. Bryce Prewitt
    Heart

    Have my babies, Ted

    You're a god-damn hero!

  48. Anonymous Coward
    Flame

    I blame the developers.

    It's not the fault of the hammer that you hit your thumb with it.

  49. The Fuzzy Wotnot
    Thumb Up

    Yeah, but....

    In this day and age I'm afraid that with small IT shops, like mine with over-bearing managers, we need quick solutions to allow us to code quick utils and apps for internal use. Perl and PHP, if used carefully can bring quick results.

    I have to agree though, wouldn't like to code huge apps with it, some people can get it right, but they are few and far between!

  50. Jason Bloomberg Silver badge
    Paris Hilton

    Real programmers don't eat quiche

    This reeks of the elitism pumped out by the British Computer Society that only those suitably approved of by the BCS should be allowed to program. "Approved" doesn't mean competant, just someone who jumps through all the hoops and flicks all the switches to induce an orgasm at BCS Membership HQ.

    It doesn't mean BCS members are not crap ( some of the biggest and most expensive fails have involved people the BCS would welcome with open arms ), and it doesn't mean those who the BCS reject are.

    Paris : Who knows all about members.

  51. Anonymous Coward
    Flame

    This article =

    Epic Fail.

    God, please stop using FAIL as a phrase it stupid.

  52. Eddie Edwards
    Happy

    @ D Fife

    "PHP is a rich and powerful language with immense possibilities."

    ROFLMAO

    Thanks for making my day!

  53. Mark C
    Thumb Up

    Irk The Purists

    The point of Ted is to wind some people up and make others laugh. Seems to be doing a grand job .....

  54. Ian Ferguson
    Flame

    Easy solution

    Everybody defending PHP, by their own arguments, are responsible enough to handle it.

    Let's equip these responsible people with handguns, and lock them in a basement together :D

  55. Mark Pawelek

    Google's GWT uses Java

    [quote]

    Google does an adequate job of keeping out the troublemakers by restricting App Engine to Java or Python.

    [/quote]

    Seems a bit arbitrary to me. Is there a coincidence here? GWT (Google web toolkit) relies on Java - that couldn't possibly have anything to do with Google's policy could it?

    PS: As for PHP - why would anyone waste their time with that when they could be coding in GWT or RoR?

  56. OffBeatMammal
    Gates Halo

    either Ted is off his meds...

    or this is a subtle way of telling us that he actually loves PHP and Microsoft but he's not sure how to come out of the closet ;)

  57. Anonymous Coward
    Stop

    What's the view like up there?

    Good programmers can turn their hand to new languages with minimal learning curve and can architect, scale, maintain and extend with the best of them. With notable and talented exceptions, these programmers are degree or postgraduate level educated. They are expensive.

    Average programmers learn their languages well and can write efficient, maintainable code. They have taken some higher education or got decent "on the job" training. They command more than the national average wage.

    Poor programmers can make a hash of whatever language they learn (figuratively, not literally: why hash when you can run a loop comparing plaintext strings?). They tend to learn VB, PHP, MySQL etc. as they are widely taught in evening classes, consumer magazines and books from Waterstones. It is cheap as peanuts to hire one of these guys.

    Now, what do you want, and how much do you want to pay?

    There should be no place for snobbery here. Get off your high horse. It's only code. You're not Chaucer.

    If anyone is paying over the odds for the wrong type of programmer, more fool them, and good on the programmer!

  58. Aaron

    Well, that's nice.

    Yeah, I always like to be told what I'm doing wrong by someone who thinks his startup's going to steal a worthwhile amount of business from Amazon -- of course, that's the startup he started in the wake of the collapse of his previous startup, which was supposed to steal a worthwhile amount of business from Google. I am beginning to think that maybe there's a credibility issue here, you guys.

    Dziuba might have a pair of programmer's balls the size of boulders -- I'm sure he does, and that he keeps them in a special room in his house where he goes sometimes late at night to look at them -- but Milo.com? Pressflip.com? I've flushed better business plans than these. Can maybe next time the Reg needs a periodic ranter, y'all pick out somebody who can be taken a little bit seriously?

    -- signed, someone who no one needs to take seriously.

  59. Steve Mann

    Well.

    One so rarely sees such a convincing simulation of rabies in the online press.

    Well done that man.

  60. Aaron

    oh and --

    "I have yet to see Perl code that's not part of the official distribution that's actually readable and maintainable."

    Find better Perl programmers to work after. If you gave Hamlet to a bunch of chimpanzees and they wiped their asses with it, would you blame Shakespeare?

  61. John Styles

    Deathmatch

    Verity Stob is a big fan of PHP, I recall. Bring on the El Reg deathmatch. 40 Quatloos on Ms. Stob.

  62. Anonymous Coward
    Boffin

    Meh

    PHP ain't a particularly good language. In fact, its OO model sucks like a supermassive galaxy-core black hole.

    Nevertheless, it's the most popular Web programming language out there for a reason. I have been a pro C++ programmer for a couple of decades, and I'm really, really familiar with snooty bastards declaring that "C++ is the spawn of Satan", and that it gives "Too much power to bad programmers", "LITHP ith the wave of the futhutre, etc." yadda, yadda.

    BTW: I now program primarily in PHP. After writing some really slow crap using the OO model, I rapidly reacquainted myself with my procedural roots, and it does me well.

    I don't particularly like MS, but their .NET platform is an excellent venue for corporate-scale Web applications. If I were running a big Web shop, I'd seriously consider it.

    Since I'm doing most of my Web stuff on the side by myself, PHP lets me write some very powerful stuff without having a team of programmers and a massive set of preflight test servers.

  63. Pierre Silver badge

    It's funny 'cause it's true

    I've once seen an app written in VB -almost exclusively macros, if you ask-, backed up by... wait for it... excel spreadsheets for data management. PHP was but a foetus at the time, but I'm sure the *erm* "developper" responsible for this has now *erm* coded a couple web interfaces -in PHP- for his various VB masterpieces. It might sound a bit extreme, but go have a walk around the web and it won't sound that extreme anymore...

    Funny how people keep saying "PHP is great if you know what you're doing". NOPE. PHP is a piece of smelly swine waste, _because_ it allows for the sloppiest coding practices known to Man. Also, Perl sucks moose balls and Java is for sissies, if you ask me, but PHP clearly gets the "dumb queen" crown -OK, make it a draw, after all there _are_ VB programmers around.

    And that's because of the first and only Rule in the IT world, from which all the other can be derived: when you design a tool that *can* be used in a clueless way by braindead morons, you know it *will* be used in a clueless way by braindead morons. Especially if you give them an automated tool to commit their atrocities.

    Now I must admit that it's probably possible to write a coherent piece of PHP if you really want*, but if you have the skillz, why not use a real language? Back to The Rule: when you have real languages on one hand, and PHP in the other, you know the real coding will be done in a real language, while PHP will be used to build piles of hacks upon hacks upon hacks (skyscrapers held together with duct tape, as a previous commenter rightly typed).

    The article is quite funny too.

    Now for the article's downsides: where the feck are the fracking "f*ck"s? Also, the proposition "which means they both fail at failing." is a failing fail. Should have read:"which means they both fail at fail".

    *purely hypothetical, I doubt anyone ever tried

  64. Cullen Newsom
    Thumb Up

    @Ted

    Why don't you tell us what you really think?

  65. Lyle Dietz
    Flame

    Its funny because its true

    I've seen some absolute rubbish written in PHP. Java and Python weed out the weenies by making it harder to do things.

    That's not to say that PHP is a bad language. Its just in a majority of cases, its used by idiots in the worst possible way. As a bonus, half the time you can't even see what's wrong.

    The PHP/MySQL combo is just a bottomless well of pain to anyone that does any real development. MyISAM tables sure are fast, but they don't have referential integrity, or transactions. Ugh. Ask a PHP developer about prepared queries, and watch them dribble.

    You can do great things with PHP. Its lightweight, and decently fast, its just most of the people out there with PHP experience are pure crap, writing slow, shambling, resource hogs.

  66. Anonymous Coward
    Paris Hilton

    Couple of things

    Firstly...

    Anyone on here arguing that one form of code is better / more supportable / more readable than another really needs to get hold of a copy of Havels "The Memorandum". Languages are messy and unstructured because they are used by humans for human situations. Humans are messy (and unstructured).

    Secondly..

    VBA macros, Access databases and PHP all get used largely because an enthusiastic amateur in the business department got the job done cheaply and efficiently while the IT department were still writing the thrid draft of the High Level Business requirement. Sometimes scalability is more important in people than languages.

    Paris, because she knows that a quick bang is (sometimes) better than a slow burn....

  67. Anonymous Coward
    Thumb Up

    PHP is not a full programming Language

    Its a f&%king scripting language in the same vain as ASP classic, and just to be 100% clear both are very good for small 'scripping jobs' where you need server side not client side.

    But otherwise there are crap get over it and go learn a real OO language

  68. Anonymous Coward
    Flame

    Language?

    I am assuming that at least some of the posters here are native-born UK/US citizens, boasting at least a secondary school education. Sadly, I suspect that many have advanced college degrees, which is really, really depressing.

    How about we learn our own spoken and written language before we go about arguing over computer programming languages?

  69. Bruce
    Thumb Down

    I am assuming the author is a bit of a retard!

    Yes ok PHP is nice an easy but lets be honest now, the majority of dynamic websites out there run off the back of PHP, so it can't be that bad.

    Oh and I am guessing you really don't know the weight of a rifle these days!

    "For those of you that aren't web developers, this is a bit like trying to kill a person with a rifle by clubbing them in the foot with it, hoping that the blunt end of the weapon will break the skin somehow, and your victim will die of an infection because he's in a place so remote that there's no access to antibiotics."

    Considering if you hit someone hard enough with the "foot" (heel or butt I think you may have been looking for there) in the head you could quite easily kill them!

  70. Pierre Silver badge
    Happy

    @ AC 27th May 2009 18:41 GMT

    "I am assuming that at least some of the posters here are native-born UK/US citizens, boasting at least a secondary school education. Sadly, I suspect that many have advanced college degrees, which is really, really depressing. How about we learn our own spoken and written language before we go about arguing over computer programming languages?"

    As a non-"native-born UK/US citizen", I could have been hurt by your implicit assumption that non-native English speakers have a poor grasp on the language*. But more importantly, you apparently assume that UK and US citizens share a common language. Maybe you should try a little experiment: if you're a Brit, go to the US and try to use your Ol'Blighty English on a native(+5 points per New-Yorker, +10 points per californian, +100 points per mid-westerner and per yuppie). If you're a Yank, go to the UK and try to communicate with the locals (+30 points per mancunian, +50 points per Scott, +10 Baaaahh per Welsh).

    In any case you're in for a surprise (and I'm not even talking about strine).

    Just sayin'

    *But I'm past that. Of course. Erm.

  71. Anonymous Coward
    Anonymous Coward

    As A Matter of Fact...

    ...some of the finest Queen's English I've ever heard has been spoken by Dutch German, Italian and African folks.

    Some of the best writing I've seen has been done by folks with thick Cockney accents, Welsh brogue, Alabama Redneck or Brooklyn Italian accents.

    It's when we get snooty with each other over computer languages in barely legible prose that I get so depressed; especially when you consider that any college worth their accreditation (in the UK or the US) has a minimal English language requirement (except maybe Gallaudet University).

    BTW: I'm not a native-born US or UK person myself, and I don't have an advanced degree.

    Why don't we have an icon of a smiley face sticking out its tongue?

  72. Justin Case

    PHP - Does it for me

    Been putting bread on the table for years with it.

  73. Anonymous Coward
    Coat

    @Justin Case

    > Been putting bread on the table for years with it.

    That about says it, eh?

    Mine's the one with the "£" sign on it...

  74. rm

    Truth

    Yes, the last thing Microsoft should be doing is enabling people to make another Digg, Twitter—or worse, another goddamned shopping comparison site!

  75. Anonymous Coward
    Thumb Up

    Re: Anonymous Coward; this.fixCode(badCode)

    Yes, it exists for .Net, it's called; ReSharper (jetbrains.com/resharper), StyleCop (http://code.msdn.microsoft.com/sourceanalysis) , Visual Studio, nDepend (http://www.ndepend.com/), Reflector + dependency plugin (http://www.red-gate.com/products/reflector/), chess for multi-threaded heisenbugs (http://channel9.msdn.com/posts/Peli/Getting-started-with-CHESS-in-Visual-Studio-2008/) and nunit (http://www.nunit.org/index.php).

    These tools LITERALLY FIX BAD CODE AUTOMATICALLY. So in your face :p!

    Loved the article and sent it to my friends.

  76. Michael Miller
    Dead Vulture

    Shit code is shit code no matter the language

    Find something else to bitch about.

    Preferably while you're down at the pub piss faced....

    Which is where you probably were when you write this tripe.

    Fail Reg for printing it.

  77. Anonymous Coward
    Pirate

    In the hands of..

    Like it or not, I can do a masterpiece even with this handgun. Would you like to see? Come closer..

  78. Anonymous Coward
    Thumb Down

    @Bruce

    I think you need to read the sentence again...... Ted's talking about the person's foot (as in the thing on the end of their leg) not the 'foot' of the rifle, hence the difficulty in killing them.

  79. Pierre Silver badge

    Dear Michael Miller, Sir,

    " Shit code is shit code no matter the language. Find something else to bitch about."

    Now that's clever. Hey, why don't you try and code an unreadable-by-lack-of-indentation piece of Python? Or a piece of Java unmaintable because variables are not declared? Waddayamean, you can't? So maybe some languages are less tolerant of bad coding practices than others? And maybe a "language" that allows (encourages, even) bad code is a pile of fail waiting* to happen?

    *not really waiting anymore, if you ask me and the intarwubz.

  80. Joe A. J. Beaumont
    Paris Hilton

    Handgun

    "PHP is like a handgun... In the hands of a responsible citizen, it can be used to the benefit of society."

    I can only assume the author is ill as this is clearly rampant wankery.

    Paris as she knows ALL about rampant wankery. Ahem.

  81. Seán

    Poor Americans

    Just substitute Islam for PHP and you can see the USAian "fear of the unknown" leaping off the page. Some bad man has told Ted a scary story about PHP and then he made the rest up for our own good.

    This drivel isn't amusing and has all the information value of a Rush Limbaugh diatribe.

  82. Pat Cadigan

    Well...

    This article might have been more powerful except for the MySql ad running next to it.

  83. Anonymous Coward
    Heart

    @AC

    "Yes, it exists for .Net, it's called; ReSharper (jetbrains.com/resharper), StyleCop (http://code.msdn.microsoft.com/sourceanalysis) , Visual Studio, nDepend (http://www.ndepend.com/), Reflector + dependency plugin (http://www.red-gate.com/products/reflector/), chess for multi-threaded heisenbugs (http://channel9.msdn.com/posts/Peli/Getting-started-with-CHESS-in-Visual-Studio-2008/) and nunit (http://www.nunit.org/index.php)."

    Wow you must be a bunch of code monkeys to need all that!!!

  84. Allan Kelly
    Stop

    Dear oh dear

    Silly lad. Your choice of tool reflects your ability eh? Maybe it reflects what you have to hand/what you have a budget for (including time).

    PHP is really good for most simple data-backed web things. How better to learn scalability than through failing to scale? But how better to secure funding for your well-designed large-scale creation than a decent cheap POC?

    Oh, and I've seen a whole hear of little cheap PHP & Perl ideas work just fine, with no budget and no fuss. I've seen no 'proper' software projects deliver without extreme pain, and many many which did not deliver at all.

    Tools for the job my friend.

    Cheers, al.

  85. This post has been deleted by its author

  86. Joel Clark
    Thumb Up

    Wooosh!

    The amount of people in this thread that don't get it is epic. Good show, Ted!

  87. Seán

    @Joel

    Please go outside you seem to have dogshit in your rollerblades and no I don't want a latte.

  88. Dave Ashe
    Happy

    Is this article some kind of sarcasm?

    Pure genius, i didn't get it at first, but now he's basically..er, i'll leave you to figure it out :-)

  89. Anonymous Coward
    Anonymous Coward

    coexist

    Code rage, handguns, and punching people in the face? Give peace a chance.

  90. Sentient
    Thumb Down

    what Alacrity Fitzhugh said.

    I also have 10+ years experience in C++, quite a bit harder than Java, and saw some pretty horrible code. Making a language harder doesn't prevent programmers to abuse it. Where did you get that notion? Ever heard of COM?

    I played with PHP for a few months and saw as much clean code as ugly code.

    It's just different. One's a scripting language the other's strongly typed language. You can create shite with both.

  91. Richie Hindle
    Happy

    Well done!

    Great article! I:

    1. Laughed my head off at the article

    2. Didn't take it seriously

    3. Laughed my head off at all the commenters who took it seriously.

    Two heads laughed off for the price of one. Well done Ted and The Reg.

  92. Daniel Grout
    Stop

    @Pierre

    "Or a piece of Java unmaintable because variables are not declared?"

    I have yet to meet an undeclared variable in Java.....I'd be most impressed if you could show me how!

  93. Anonymous Coward
    Thumb Down

    Microsofts Magnificent Butt Plug....

    World takes it in the arse - well so they hope.

  94. Karl H
    Flame

    software CAN kill

    to "jake" sayin that software can't kill anyone.

    well software running a control system of a highly dangerous activity CAN KILL

    yes this software does exist, and I hope it isn't running on php.

    I will leave as an exercise to everyone to see if they can imagine how bad software CAN kill people.

  95. Tim
    Stop

    What a load of purist puritanical rubbish

    You spout ire and doomsayer comments about an enabling technology...

    The fault is not with MS or the PHP developers... you are blaming MS for opening up resources that you wish were a protectorate of the PHP geekdom... from a wide base of poor coding comes a world of developing developers and enablement for many.

    Please keep your perspective and respect the Register readers intelligence

  96. Anonymous Coward
    Coat

    Programming is like driving...

    Everyone thinks that their car is the best, and everyone else on the road is an idiot. In all probability a 2.0 Ford Focus in the hands of The Stig will go around the track quicker than a super car driven by a numpty (fast through the straights, spins off on the difficult bits).

    IF you can afford a super car, and IF you are prepared to spend the time learning to drive it, then the results will be worth the effort. But those are two pretty important "IF"s

This topic is closed for new posts.

Biting the hand that feeds IT © 1998–2019