Live data from Hacker News

Why PHP is Still Better than Ruby

bitcetera.com

21–30 of 34 posts

Re: Why PHP is Still Better than Ruby

#21

I am comparing PHP Frameworks vs Ruby on Rails because that is a closer and more relevant comparison. PHP frameworks such as Codeigniter are dead simple to use. They do not have the deployment, scaling, and performance headaches that Ruby On Rails has. I don't get why people worship ROR, maybe because it is the original MVC framework. Why hate on PHP when the popular and most successful website runs on it (facebook,…

Facebook, Yahoo, Flickr and Digg all use non-PHP solutions for the back end.

Rails can scale fine once you realize it's not magic; you take a hit from using a framework designed to make developers happy, not servers, but you can work around it — at the end of the day, Ruby isn't slow like people make it out to be.

Re: Why PHP is Still Better than Ruby

#23
post #17

it "should score 0 for gutter game" do 20.times { @bowling.hit(0) } @bowling.score.should == 0 end Wow, Ruby/RSpec really sucks. And by sucks I mean "reads like a natural language and rules".

Without taking sides, why is this being voted down? Your opinion that this snippet reads like a natural language and is therefore useful is well taken.

I'm guessing it was downvoted because it was written in a snarky way.

Personally I don't understand the need for code that looks like natural language. This is probably because I grew up in the world of C/C++, and I find php to be the most relatable. When I look at Ruby I have to think about what the heck they are talking about.

Considering how popular Ruby is I have often thought of spending more time with it, but it is so slow I just can't get my head around bothering. PHP using opcode cachers(xcache) and a good webserver (lighttpd) will run very fast...

Jeremy

Re: Why PHP is Still Better than Ruby

#27
post #3

I'm no PHP fan, but you Ruby people really are insufferably pretentious cocks.

I'm maybe not getting the HN philosophy, but this kind of useless posts should better be voted down than up in my opinion. You bring nothing new to the table except your useless hate about what the author has to say. I'm no php fan either, neither a Ruby one. I'm not that involved into language wars to be honest. To my naïve eye, this article just sounds satiric and fun. It's not meant to be serious, and, no matter w…

The title of this post is pure, unadulterated linkbait. It is not surprising that people are responding with reflexive revulsion. This submission attracts an audience and then rudely spurns them.

Jokes about dead people can be funny. Inviting people to a relative's funeral and then bringing on a comedian to tease them about their formal clothes is... not funny.

Re: Why PHP is Still Better than Ruby

#28

Earlier quoted context omitted.

I'm maybe not getting the HN philosophy, but this kind of useless posts should better be voted down than up in my opinion. You bring nothing new to the table except your useless hate about what the author has to say. I'm no php fan either, neither a Ruby one. I'm not that involved into language wars to be honest. To my naïve eye, this article just sounds satiric and fun. It's not meant to be serious, and, no matter w…

The title of this post is pure, unadulterated linkbait. It is not surprising that people are responding with reflexive revulsion. This submission attracts an audience and then rudely spurns them. Jokes about dead people can be funny. Inviting people to a relative's funeral and then bringing on a comedian to tease them about their formal clothes is... not funny.

Allright i stand corrected. As i'm not yet making a living out of programming, i kind of failed to see the troll in that. But that must be me :)

Re: Why PHP is Still Better than Ruby

#29

I am comparing PHP Frameworks vs Ruby on Rails because that is a closer and more relevant comparison. PHP frameworks such as Codeigniter are dead simple to use. They do not have the deployment, scaling, and performance headaches that Ruby On Rails has. I don't get why people worship ROR, maybe because it is the original MVC framework. Why hate on PHP when the popular and most successful website runs on it (facebook,…

the problem with most PHP frameworks (symfony, cake, yes even code igniter) is that they are much slower than Rails (by at least 4x). They don't buy you anything unless you're not willing to learn anything beyond PHP. in terms of deployment, you don't have to use capistrano; if you want you can manually deploy rails like php another problem with PHP compared to x language is that it's too web centric; it's just not f…

When you talk about PHP being too "web centric [... and] just not flexible enough", how do you mean?

Would less web-centric mean being useful in making desktop apps? What other dimensions of flexibility do you have in mind?

Re: Why PHP is Still Better than Ruby

#30

Earlier quoted context omitted.

the problem with most PHP frameworks (symfony, cake, yes even code igniter) is that they are much slower than Rails (by at least 4x). They don't buy you anything unless you're not willing to learn anything beyond PHP. in terms of deployment, you don't have to use capistrano; if you want you can manually deploy rails like php another problem with PHP compared to x language is that it's too web centric; it's just not f…

When you talk about PHP being too "web centric [... and] just not flexible enough", how do you mean? Would less web-centric mean being useful in making desktop apps? What other dimensions of flexibility do you have in mind?

"Would less web-centric mean being useful in making desktop apps?"

yes that and bots, and God knows what other back end programs; PHP is decent at the one thing it does (way better than Perl 5 - the thing it replaced), but why limit yourself to just being able to code only web apps? to me that's PHP's biggest weakness, but again that's just my opinion

to me what I still don't understand is why people aren't willing to learn and migrate to either ruby or python... they are very easy to use and understand (just as easy as PHP imo), while being very powerful and flexible at the same time; plus they're popular enough with large enough communities (though yes at times there are jerks in the ruby side - but they are very helpful when asking ruby questions)

Post reply on HN