DEV Community

Discussion on: Ruby Concepts - Singleton Classes

Collapse
 
katafrakt profile image
Paweł Świątkowski

This is a really cool explanation of the topic. I used to ask about singleton class on tech interviews and was surprised that only one person ever got it right. Now I could as well recommend the rest to read your post ;)

However, as far as I remember singleton classes have some performance issues. I remember samo talk by Aaron Patterson where he explained that but I can't find that right now.

Collapse
 
rpalo profile image
Ryan Palo

Interesting, I didn’t know about that. I’ll hsve to look that up, thanks!