Skip to main content

View Diary: The Internet is not MAGIC (145 comments)

Comment Preferences

  •  I do like the simplicity of PHP. (1+ / 0-)
    Recommended by:
    wyckoff

    Sometimes it's really nice that you can throw together a few dozens lines of code and do something really powerful with it, and it's very widely supported on hosting sites, etc. And it doesn't really take any more "programming" to do small sites in it than just editing a few text files and putting them up on an Apache server.

    I don't, however, like PHP much as a full-fledged programming language. It's pretty poorly designed, in my opinion, and has a lot of deficiencies (such as a badly designed standard library, weird/cumbersome OO support, difficult-to-painful debugging, overly "flexible" type system, inconsistent naming conventions, etc). Given a choice, I'd take Ruby on Rails or even Java any day over PHP for a larger application, just because the languages themselves are far better. But I do agree that PHP has its place for now, and that should be in small, simple web programs that can be done in a couple of hundred lines or less.

    •  That's why people like me like it! (1+ / 0-)
      Recommended by:
      wyckoff

      But I hear you. I guess it isn't for "programming" anyway, just scripting. :-D

      •  It's about the right tool for the right job. (2+ / 0-)
        Recommended by:
        wyckoff, badscience

        PHP is a good tool for small, uncomplicated tasks. It's not a good tool for developing large-scale applications (in my opinion). It's biggest strength (simplicity) is also a curse when you need it do something more complicated.

Subscribe or Donate to support Daily Kos.

Click here for the mobile view of the site