Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You are mixing your requirements really badly here: a language that's "dead simple to run" vs a language that works stupidly simple with the web.

Ruby is very easy to run: puts "Hello World"

As is perl: print "Hello World";

Php? <?php echo "Hello World"; ?> (wtf is all that crap, says the new programmer)

The point the OP is trying to make is the "stupid simple with the web" side of the equation. Of course the PHP side isn't as simple as "the language runs on the web". PHP runs on Apache because of the tons of work put into mod_php to integrated it and make it work as easy as possible.

You can't "just run" php on nginx, lighty, etc. Then you need to setup FastCGI instances, and now you're no different from Rails land with mongrels or thins.



He is referring to an under-appreciated virtue of good software: installability.

apt-get install php5

Usually you don't even need that.


I don't understand how this is distinct from PHP's competition. Python is "apt-get install python" — two extra characters are not going to break even the greenest noob's back.


And if this is the argument, Perl is in Debian's default install anyway. Hell, the APT system is partially written in Perl...


What? PHP is not in the default install of, say, Debian. But Perl is.


Ruby is very easy to run: puts "Hello World"

You are confusing Ruby for Ruby on Rails.

Ruby is easy to run. Ruby on Rails, not as much(relatively).


Since he never said anything about Ruby on Rails and he was talking about languages rather than web app frameworks, I'm pretty sure he meant Ruby.


Actually, PHP is not a programming language. It's a templating language gone bazooka.


Comparing use of Ruby to PHP is like comparing C++ to PHP. It makes little sense. We don't write web pages in C++ or Ruby. We do in PHP and RoR.


Actually, perl is "say 'Hello, world.'". Shorter and more readable.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: