Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

There is nothing wrong with PHP

Name: Anonymous 2009-09-29 22:51

Fact: Only a complete and utter retard would use anything but PHP to program for the Web. Perl and Python are for elitist, overeducated cunts who are desperately trying to justify the time they waste learning how to write slow, unreadable noise.

Name: Anonymous 2009-09-29 22:57

ok

thanks for telling us

Name: Anonymous 2009-09-29 23:10

I remember web perl before php, thanks.

Name: Anonymous 2009-09-30 0:58

>>3
I still write cgis in Perl, PHP is kind of useless for what I do.

Name: Anonymous 2009-09-30 1:26

Enjoy not coding in the Enterprise.

Name: Anonymous 2009-09-30 2:39

The only thing I hate is the $ in front of variables; it looks ugly to me.

class Main
{
    public str1 = 1;
    public str2 = 2;
   
    public function SomeFunction()
    {
        if (str1 < str2)
            print "str2 is greater than str1";
        else
        {
            print "str1 is greater than str2";
        };
    }
}

Main::SomeFunction();


PHP would look so much better if it removed those dollar signs, and looked like that.

Name: Anonymous 2009-09-30 2:43

>>6
I agree, the dollar sign was a turn off for me as well. All these piggy banks floating around make the whole thing out as a toy

Name: Anonymous 2009-09-30 2:47

>>7

Some people make the rebuttal "BUT WHAT ABOUT USING THE VARIABLE INSIDE OF A STRING?"

Like this:

ten = "ten";

echo <<<HERE
I am %{ten}, and what is this?
HERE;

Name: Anonymous 2009-09-30 3:20

>>8
You just made it worse. Although, if you insist, in Perl you can do ${string}, I'm not sure about PHP.

Name: Anonymous 2009-09-30 4:43

PHP is like the VB of dynamic content generation, although at least it has slightly better C-based syntax.

Name: Anonymous 2009-09-30 4:47

Actually, when used properly, a variable prefix can be a boon to a language, in that you don't have to break 10 million lines of old code out there every time you add a keyword. That's what e.g. the LLVM assembly language uses it for.

You have to use them for functions too, but in a non-low level language, functions are just variables anyway, right? Right!

So even though it does hurts readability, it's not entirely without it's place. It would even make some sense in a primitive templating language like PHP, in that most uses of variables would be inside strings, except lol injection. Anyway, what I'm trying to say is that PHP is shit, and that you, >>1, should just stick with Myspace.

Name: Anonymous 2009-09-30 4:54

>>11
Maybe I'm going insane, but that actually makes sigils sound useful. HIBT?

Name: Anonymous 2009-09-30 5:04

Perl and Python are for elitist
Perl is most assuredly better than PHP for string manipulation, validation, whatever.

Name: Anonymous 2009-09-30 7:26

>>13
IHBT.
Fixed that for you.

Name: Anonymous 2009-09-30 16:58

>>1
Fuck you.

Name: Anonymous 2009-10-01 0:11

>>1
overeducated
:confus: ??

Name: Anonymous 2009-10-01 0:50

>>16

He's confusing education with academia

Don't change these.
Name: Email:
Entire Thread Thread List