Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Kurt Schrader's Blog:
Ruby is a Playground, PHP is a Factory
May 23, 2008 @ 10:22:27

In a new post to his blog, Kurt Schrader suggests that the Ruby language feels more like a playground to him and PHP, more of a factory. (note: pro-Ruby article)

While reading yet another article on why PHP Sucks (today's witty twist, "but It Doesn't Matter") I realized yet another reason that I'm glad to be programming in Ruby.

He sees Ruby as a "big open playground" and languages like PHP as big industrial factories that are more efficient for some things but can also "suck the creativity and life out of the people working in them". He compares a simple bit of Ruby code to PHP code that do essentially the same ask asks why you'd want to do one over the other.

There's plenty of comments supporting things both ways ranging from "that's a bad example" to "I think PHP is more of a playground - a disorganized mess".

tagged: ruby playground compare language factory

Link: