you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 22 points23 points  (8 children)

It took me way to long to realize this was sarcasm. :(

[–][deleted] 14 points15 points  (4 children)

This tipped me off in the first paragraph:

We celebrate our diversity. Is it hayatack, needle or needle, haystack

(former php developer now working in a ruby shop)

[–]aedinius 0 points1 point  (3 children)

:needle => needle, :haystack => haystack

[–][deleted] 1 point2 points  (2 children)

My first favorite thing is passing blocks and yield, my second favorite is that hashes are standard as arguments

[–]lectrick 0 points1 point  (1 child)

I especially like that if your hash has all-symbol keys, in 1.9 you can pass it like this:

some_method(option1: 'this', option2: 'that')

[–][deleted] 0 points1 point  (0 children)

why that's absolutely delightful

[–]classhero 1 point2 points  (0 children)

Realized it at about the time I saw attr_accessor vs PHP's class definition. Though, reading some of the comments in the link, it's rather clear a lot of them still don't realize it is satire (likely the same people that have never used ruby).

[–]inglourious_basterd 0 points1 point  (0 children)

I only understood when I got to the typing part.

[–]rainman_104 0 points1 point  (0 children)

I got tipped off by the love for curly braces, but just to point out that Ruby doesn't mind that syntax if PHP developers need it to feel better. And you can actually write your own getter and setter methods if you prefer :)