Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Ask HN: What does Ruby have that Python doesn't?. Parent comment
>It isn't bad at all. (And does not really matter)
* First-class symbols.
>Ok, but python has first class functions.
* Blocks and lambdas. I've read GvR's take on this.
>GvR is right.
* Method definitions in Ruby don't need to accept a "self" argument.
* Ruby has first-class Regexps. Python has an "re" library. You know what else has an "re" library? C.
> Ruby has private methods. JAva has private methods too. Therefore ruby is bad.
And so on...
p.s. And if you need oop features why use ruby instead of java?
Probably because he values his sanity.
>It isn't bad at all. (And does not really matter)
* First-class symbols.
>Ok, but python has first class functions.
* Blocks and lambdas. I've read GvR's take on this.
>GvR is right.
* Method definitions in Ruby don't need to accept a "self" argument.
>It isn't bad at all. (And does not really matter)
* Ruby has first-class Regexps. Python has an "re" library. You know what else has an "re" library? C.
> Ruby has private methods. JAva has private methods too. Therefore ruby is bad.
And so on...
p.s. And if you need oop features why use ruby instead of java?