DEV Community

Discussion on: Ruby has no class methods

Collapse
 
yorodm profile image
Yoandy Rodriguez Martinez

So, you've effectively proven that.

  1. Ruby does have class methods, cause you know, metaclasses are not the same thing as classes.
  2. Metaclasses are cool (which it's known since Smalltalk times).
  3. MOP rules!
Collapse
 
edisonywh profile image
Edison Yap

Haha yeah, I admit the title is a bit clickbaity :p but it's more so that for my own personal understanding, class method wasn't what I thought it was.

Yeah in Nadia's talk she talked briefly about Smalltalk too! There's just so much more to learn, it's exciting!

Can explain what MOP is?

Collapse
 
yorodm profile image
Yoandy Rodriguez Martinez

Meta Object Protocol, oh man you're in for a treat!!!! Check this book

Thread Thread
 
gosukiwi_20 profile image
Federico Ramirez

Interesting, I was playing with writing an OO programming language in Common Lisp, looks like this might be a good architecture for the object system.