by nawfalhasan · 9y ago · 0 comments
2. On Ruby, is it possible to have functions on hashtables, just like methods on objects? Is it possible to define a Person hashtable and a Car hashtable and type system pick up the difference? It would be a hack to code like that if idiomatic Ruby code is not built around hashtables.
3. I see your point not to get hung up on dot syntax, my question was out of curiosity. I do like object modelling and wished if I could continue with a paradigm I'm so familiar with without its warts (side effects).
No comments yet.