Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. After years of defending PHP...

After years of defending PHP...

Scheduled Pinned Locked Moved The Lounge
phphelp
21 Posts 10 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jeremy Falcon
    wrote on last edited by
    #1

    The below YouTube post got me thinking, after years of defending PHP on CP, I will admit there is one thing that I think is utterly stupid about it - it doesn't support unsigned integers. And you can't specify which size of an integer you want. It's a 32-bit int on 32-bit systems and a 64-bit int on 64-bit systems. Period. End of story. You want something else, that's your problem. Deal with it. Almost makes me wonder if that's why YT had the signed counter in the first place, for compatibility with web technologies such as that. And PHP is still a great tool, but like most environments there are some WTF things about it. This is one of them.

    Jeremy Falcon

    P M A W R 7 Replies Last reply
    0
    • J Jeremy Falcon

      The below YouTube post got me thinking, after years of defending PHP on CP, I will admit there is one thing that I think is utterly stupid about it - it doesn't support unsigned integers. And you can't specify which size of an integer you want. It's a 32-bit int on 32-bit systems and a 64-bit int on 64-bit systems. Period. End of story. You want something else, that's your problem. Deal with it. Almost makes me wonder if that's why YT had the signed counter in the first place, for compatibility with web technologies such as that. And PHP is still a great tool, but like most environments there are some WTF things about it. This is one of them.

      Jeremy Falcon

      P Offline
      P Offline
      PIEBALDconsult
      wrote on last edited by
      #2

      :cough: Perl :cough: :sigh: Really a comment on "scripting languages" in general that provide simplicity at the cost of features. Serious programs require a rich set of datatypes and therefore strong typing.

      J 1 Reply Last reply
      0
      • P PIEBALDconsult

        :cough: Perl :cough: :sigh: Really a comment on "scripting languages" in general that provide simplicity at the cost of features. Serious programs require a rich set of datatypes and therefore strong typing.

        J Offline
        J Offline
        Jeremy Falcon
        wrote on last edited by
        #3

        That's just it, PHP started off as a scripting language, it's no longer one. You can use it that way if you want, but it's not required. It's no different than Java or .NET now in the fact you can pre-compile into bytecode and run that. You can even package modules into PHAR files that work very similar to assemblies. PHP is growing up, but I'd wager most of its "scriptness" feel is due to legacy support. And your right, it still has that "scriptness" feel to it because you don't see it compiling in your IDE, that happens on the server behind the scenes. For me, PHP's strength is the ungodly amount of things you can do with it. And it runs on Unix/Linux. It's faster than other *nix alternatives that I know of (RoR = slow), and beats writing a web app in C/C++. So, hopefully we'll get some of those missing goodies one day... oh unsigned ints. Oh, and PHP does have type support. Just not strong typing. That's not the same as no typing.

        Jeremy Falcon

        N 1 Reply Last reply
        0
        • J Jeremy Falcon

          The below YouTube post got me thinking, after years of defending PHP on CP, I will admit there is one thing that I think is utterly stupid about it - it doesn't support unsigned integers. And you can't specify which size of an integer you want. It's a 32-bit int on 32-bit systems and a 64-bit int on 64-bit systems. Period. End of story. You want something else, that's your problem. Deal with it. Almost makes me wonder if that's why YT had the signed counter in the first place, for compatibility with web technologies such as that. And PHP is still a great tool, but like most environments there are some WTF things about it. This is one of them.

          Jeremy Falcon

          M Offline
          M Offline
          mikepwilson
          wrote on last edited by
          #4

          The Psy thing is a joke (intentionally.) http://phpthegoodparts.tumblr.com/

          J 1 Reply Last reply
          0
          • J Jeremy Falcon

            The below YouTube post got me thinking, after years of defending PHP on CP, I will admit there is one thing that I think is utterly stupid about it - it doesn't support unsigned integers. And you can't specify which size of an integer you want. It's a 32-bit int on 32-bit systems and a 64-bit int on 64-bit systems. Period. End of story. You want something else, that's your problem. Deal with it. Almost makes me wonder if that's why YT had the signed counter in the first place, for compatibility with web technologies such as that. And PHP is still a great tool, but like most environments there are some WTF things about it. This is one of them.

            Jeremy Falcon

            A Offline
            A Offline
            Andy Brummer
            wrote on last edited by
            #5

            That's the one thing you don't like about it? :wtf:

            Curvature of the Mind now with 3D

            J 1 Reply Last reply
            0
            • M mikepwilson

              The Psy thing is a joke (intentionally.) http://phpthegoodparts.tumblr.com/

              J Offline
              J Offline
              Jeremy Falcon
              wrote on last edited by
              #6

              Can't check the link as it's blocked at work. Bummer.

              Jeremy Falcon

              1 Reply Last reply
              0
              • A Andy Brummer

                That's the one thing you don't like about it? :wtf:

                Curvature of the Mind now with 3D

                J Offline
                J Offline
                Jeremy Falcon
                wrote on last edited by
                #7

                One of the quirks, yeah. The PHP logo is ugly too. But I can live with that. I've been using PHP since the late 90s, it's not nearly as bad some people think it is. The development of it is slower than say what MS or Oracle can do, but all things considered it's still a nice piece of software. A bit like the VB of the web world, where it's more a function of the programmer than the language making things with it that suck.

                Jeremy Falcon

                A 1 Reply Last reply
                0
                • J Jeremy Falcon

                  That's just it, PHP started off as a scripting language, it's no longer one. You can use it that way if you want, but it's not required. It's no different than Java or .NET now in the fact you can pre-compile into bytecode and run that. You can even package modules into PHAR files that work very similar to assemblies. PHP is growing up, but I'd wager most of its "scriptness" feel is due to legacy support. And your right, it still has that "scriptness" feel to it because you don't see it compiling in your IDE, that happens on the server behind the scenes. For me, PHP's strength is the ungodly amount of things you can do with it. And it runs on Unix/Linux. It's faster than other *nix alternatives that I know of (RoR = slow), and beats writing a web app in C/C++. So, hopefully we'll get some of those missing goodies one day... oh unsigned ints. Oh, and PHP does have type support. Just not strong typing. That's not the same as no typing.

                  Jeremy Falcon

                  N Offline
                  N Offline
                  newton saber
                  wrote on last edited by
                  #8

                  Jeremy Falcon wrote:

                  It's faster than other *nix alternatives that I know of (RoR = slow), and beats writing a web app in C/C++

                  Why is it that it seems so few *Nix web devs talk about JSP? JSP seems like the *real alternative to ASP.NET (instead of PHP) and yet you rarely hear much about it. Is it because of the Apache (tomcat, glassfish, whatever) configuration that goes along with it? Just curious.

                  J 1 Reply Last reply
                  0
                  • N newton saber

                    Jeremy Falcon wrote:

                    It's faster than other *nix alternatives that I know of (RoR = slow), and beats writing a web app in C/C++

                    Why is it that it seems so few *Nix web devs talk about JSP? JSP seems like the *real alternative to ASP.NET (instead of PHP) and yet you rarely hear much about it. Is it because of the Apache (tomcat, glassfish, whatever) configuration that goes along with it? Just curious.

                    J Offline
                    J Offline
                    Jeremy Falcon
                    wrote on last edited by
                    #9

                    I can't speak for everyone, but my path never took me down the JSP / J2EE road. I've been doing web development before JSP existed, and back in the mid 90s the only time I even cared about Java was for writing applets for my web pages. Never went too far with it back then since its UI library at the time was just slow (Swing I think it was). So, I stayed away from it. 20 years later I'm sure it's a different ballgame though, especially since JSP wouldn't even need a UI library. That's also the reason I use PHP. PHP is the grandfather of it all. It's what was available when I got into web dev, and it was a great tool. Even before classic ASP came to be and still even after ASP was out there, the difference between classic ASP and PHP was night and day. PHP beat it in every way possible since classic ASP was really just six objects and VBScript or JScript. So, I stayed with PHP. When JSP and even Cold Fusion started hitting the scene I had no reason to use it since I've been using PHP for years I didn't see a point in learning something new. I ended up doing a fair amount of ASP.NET for my job, but after years of PHP development I know how to work that stinking thing all kinds of weird ways to get some really awesome things out of it. So in short, I don't have a reason enough to justify taking the time to learn JSP / J2EE.

                    Jeremy Falcon

                    1 Reply Last reply
                    0
                    • J Jeremy Falcon

                      The below YouTube post got me thinking, after years of defending PHP on CP, I will admit there is one thing that I think is utterly stupid about it - it doesn't support unsigned integers. And you can't specify which size of an integer you want. It's a 32-bit int on 32-bit systems and a 64-bit int on 64-bit systems. Period. End of story. You want something else, that's your problem. Deal with it. Almost makes me wonder if that's why YT had the signed counter in the first place, for compatibility with web technologies such as that. And PHP is still a great tool, but like most environments there are some WTF things about it. This is one of them.

                      Jeremy Falcon

                      W Offline
                      W Offline
                      W Balboos GHB
                      wrote on last edited by
                      #10

                      I'm comparatively new to php. It does the job for me most admirably. And (with its function library) it also look like C - and that, alone causes a warm fuzzy feeling with memories of when my hair was all dark.

                      "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                      "As far as we know, our computer has never had an undetected error." - Weisert

                      "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

                      J 1 Reply Last reply
                      0
                      • J Jeremy Falcon

                        One of the quirks, yeah. The PHP logo is ugly too. But I can live with that. I've been using PHP since the late 90s, it's not nearly as bad some people think it is. The development of it is slower than say what MS or Oracle can do, but all things considered it's still a nice piece of software. A bit like the VB of the web world, where it's more a function of the programmer than the language making things with it that suck.

                        Jeremy Falcon

                        A Offline
                        A Offline
                        Andy Brummer
                        wrote on last edited by
                        #11

                        The three really irritating things about php are the -> arrows and dollar signs, the completely random api methods, and using . for string concatenation. I really like wordpress which is built on php, the way double quote strings work, and the loose typing. Everything so far seems like a wash.

                        Curvature of the Mind now with 3D

                        J 1 Reply Last reply
                        0
                        • A Andy Brummer

                          The three really irritating things about php are the -> arrows and dollar signs, the completely random api methods, and using . for string concatenation. I really like wordpress which is built on php, the way double quote strings work, and the loose typing. Everything so far seems like a wash.

                          Curvature of the Mind now with 3D

                          J Offline
                          J Offline
                          Jeremy Falcon
                          wrote on last edited by
                          #12

                          I've defended these points so many times I'm tired of repeating myself. These aren't real reasons; they're religious-type reasons man. It only tells me you don't know much about PHP. And yes, I *could* iterate each reason and explain it. I just don't feel like it. Muwahahaha.

                          Jeremy Falcon

                          A 1 Reply Last reply
                          0
                          • W W Balboos GHB

                            I'm comparatively new to php. It does the job for me most admirably. And (with its function library) it also look like C - and that, alone causes a warm fuzzy feeling with memories of when my hair was all dark.

                            "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                            "As far as we know, our computer has never had an undetected error." - Weisert

                            "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

                            J Offline
                            J Offline
                            Jeremy Falcon
                            wrote on last edited by
                            #13

                            Good for you man. Right out of the box, one of the best things you'll notice about PHP is the amount of open source crap out there you can use with it, especially on a *nix machine where you can shell out. Need to resample audio files? No problem. Need to convert PDF to text? No problem. And the list goes on. There are tons of libs out there to help you with this all for free. It does have a few flaws IMO, but the good outweighs the bad.

                            Jeremy Falcon

                            1 Reply Last reply
                            0
                            • J Jeremy Falcon

                              I've defended these points so many times I'm tired of repeating myself. These aren't real reasons; they're religious-type reasons man. It only tells me you don't know much about PHP. And yes, I *could* iterate each reason and explain it. I just don't feel like it. Muwahahaha.

                              Jeremy Falcon

                              A Offline
                              A Offline
                              Andy Brummer
                              wrote on last edited by
                              #14

                              Jeremy Falcon wrote:

                              These aren't real reasons; they're religious-type reasons man.

                              Please, don't tell me how to think. I'm going to dislike PHP for that stuff no matter what you say, you don't have to defend it. I still use it and build some pretty cool software with it.

                              Curvature of the Mind now with 3D

                              J 1 Reply Last reply
                              0
                              • A Andy Brummer

                                Jeremy Falcon wrote:

                                These aren't real reasons; they're religious-type reasons man.

                                Please, don't tell me how to think. I'm going to dislike PHP for that stuff no matter what you say, you don't have to defend it. I still use it and build some pretty cool software with it.

                                Curvature of the Mind now with 3D

                                J Offline
                                J Offline
                                Jeremy Falcon
                                wrote on last edited by
                                #15

                                Andy Brummer wrote:

                                Please, don't tell me how to think. I'm going to dislike PHP for that stuff no matter what you say, you don't have to defend it.

                                Spoken like a religious person.

                                Jeremy Falcon

                                A R 2 Replies Last reply
                                0
                                • J Jeremy Falcon

                                  Andy Brummer wrote:

                                  Please, don't tell me how to think. I'm going to dislike PHP for that stuff no matter what you say, you don't have to defend it.

                                  Spoken like a religious person.

                                  Jeremy Falcon

                                  A Offline
                                  A Offline
                                  Andy Brummer
                                  wrote on last edited by
                                  #16

                                  Jeremy Falcon wrote:

                                  Spoken like a religious person.

                                  I see.

                                  Curvature of the Mind now with 3D

                                  1 Reply Last reply
                                  0
                                  • J Jeremy Falcon

                                    The below YouTube post got me thinking, after years of defending PHP on CP, I will admit there is one thing that I think is utterly stupid about it - it doesn't support unsigned integers. And you can't specify which size of an integer you want. It's a 32-bit int on 32-bit systems and a 64-bit int on 64-bit systems. Period. End of story. You want something else, that's your problem. Deal with it. Almost makes me wonder if that's why YT had the signed counter in the first place, for compatibility with web technologies such as that. And PHP is still a great tool, but like most environments there are some WTF things about it. This is one of them.

                                    Jeremy Falcon

                                    R Offline
                                    R Offline
                                    RugbyLeague
                                    wrote on last edited by
                                    #17

                                    I like the fact that a lot of anti Israel sites are written using Zend

                                    J 1 Reply Last reply
                                    0
                                    • J Jeremy Falcon

                                      Andy Brummer wrote:

                                      Please, don't tell me how to think. I'm going to dislike PHP for that stuff no matter what you say, you don't have to defend it.

                                      Spoken like a religious person.

                                      Jeremy Falcon

                                      R Offline
                                      R Offline
                                      razorrifh
                                      wrote on last edited by
                                      #18

                                      +1

                                      1 Reply Last reply
                                      0
                                      • J Jeremy Falcon

                                        The below YouTube post got me thinking, after years of defending PHP on CP, I will admit there is one thing that I think is utterly stupid about it - it doesn't support unsigned integers. And you can't specify which size of an integer you want. It's a 32-bit int on 32-bit systems and a 64-bit int on 64-bit systems. Period. End of story. You want something else, that's your problem. Deal with it. Almost makes me wonder if that's why YT had the signed counter in the first place, for compatibility with web technologies such as that. And PHP is still a great tool, but like most environments there are some WTF things about it. This is one of them.

                                        Jeremy Falcon

                                        J Offline
                                        J Offline
                                        Jadoti
                                        wrote on last edited by
                                        #19

                                        After years of using and defending PHP, you *finally* bumped up against something that you found a problem with? Or did you even bump into an issue with it, your post seems to say you saw someone else having an issue with it on YT. If it works for you, what's the problem?

                                        1 Reply Last reply
                                        0
                                        • R RugbyLeague

                                          I like the fact that a lot of anti Israel sites are written using Zend

                                          J Offline
                                          J Offline
                                          Jeremy Falcon
                                          wrote on last edited by
                                          #20

                                          Well there ya go! :laugh:

                                          Jeremy Falcon

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups