From: John Joyce Date: 2007-10-02T12:27:51+09:00 Subject: Re: Ruby vs. PHP On Oct 1, 2007, at 10:01 PM, Chad Perrin wrote: > On Tue, Oct 02, 2007 at 06:08:38AM +0900, John Joyce wrote: >>> . PHP is a >>> templating language. >> PHP actually is a full-fledged programming language. > > Who ever said a templating language couldn't be a "programming > language"? > So it's Turing-complete. Big deal. It's still a templating language. > > >> >> I think one of the reasons it took off so well is that its syntax is >> very C-like so many computer science grads feel right at home with it >> after being taught C/C++/Java for so long. It takes less of a leap >> for them to start using it than would Perl or Ruby. > > I can only assume you haven't made the transition from C/C++ to Perl, > then. Perl is in many ways closer to C than PHP ever was. > > >> >> The worst thing to me about PHP is its object implementation and >> overuse of sigils. > > Its object implementation sucks. No arguing that. It's basically > just > a poor implementation of namespaces with delusions of grandeur. > > My main problem with PHP sigils is that they don't actually do > anything > useful. At least in Perl they serve some purposes in making certain > things easier to support with the interpreter and easier to parse by > human eye, by being different for different types of variables. > > I can only assume that the rest of your post wasn't directed at me, > because I didn't see any connection between it and what I said. > nah most of what I type is only directed at my computer. But yes, critically, the worst thing about PHP sigils is how useless they are. They're just noise!