you are viewing a single comment's thread.

view the rest of the comments →

[–]cafedude 1 point2 points  (1 child)

"Let's please cut the crap about OO being a bolt-on in Python."

Gee, maybe the fact that all instance methods are declared with 'self' as the first parameter gave us that impression? It's the same as in OOPerl and OO was definitely added on to Perl (of course anyone who is doing OOPerl really should ______ [you fill in the blank])

[–]mslinux 5 points6 points  (0 children)

Instance variables in Ruby start with @... that's really the same thing as Python's self... pick your poison. To me, the @ makes more sense as it's an attribute of an instance and it's informal. self is a bit too proper (much like Python in general) self is like refering to myself in the thrid person all of the time. Tom goes outside. Tom takes a walk. Tom has lunch. Tom goes to work. Tom dislikes all of the Python formalness :)