Re:Ruby is beautiful (but I'm moving to Python)
by philwelch on Monday November 29, 2010 @01:03PM
(#1951128)
There's OOP qua Smalltalk/Kay, and then there's OOP qua Java. You're describing OOP qua Java, which is an ugly type of OOP designed for certain performance advantages.
[ Parent
| on HN ]
Re:Ruby is beautiful (but I'm moving to Python)
by axod on Monday November 29, 2010 @02:29PM
(#1951457)
Don't be ridiculous.
1. It's not ugly
2. It's how CPUs work
3. It's how most people think
Re:Ruby is beautiful (but I'm moving to Python)
by philwelch on Monday November 29, 2010 @03:02PM
(#1951579)
1. By ugly, I mean less mathematically elegant. In Ruby, you say "paul.foo" and get foo from Paul. How Paul gets foo for you is up to Paul. Simple.
2. If you want a programming language that maps closely to how CPU's work, Ruby's definitely not for you. Assembly and C are for you.
3. I can't speak for most people. What I can say is that I can think in C and I can think in Ruby, and it doesn't seem difficult for me.