Hacker News new | ask | show | jobs
by phatbyte 5369 days ago
It's 2011 and people still compare frameworks vs languages. PHP may suck, but oh boy, the author doesn't have his facts right. No method chaining ? really ?

Rest assured that I would rather hire a good PHP developer than this guy to code in Ruby.

2 comments

You're right, both things that the author claimed are lacking are in fact very much available.

PHP >5.3 has lambdas: http://ca3.php.net/manual/en/functions.anonymous.php

PHP >5 can support easy method chaining if you return $this from your method.

Lambdas are not yet common, but method chaining is already easy to find in most well-designed PHP libraries and frameworks.

Even though he "can make Rails run just as fast as PHP, but needs between 2 and 4 times as much hardware to do so"?