DEV Community

Discussion on: Function/Method look up in Elixir/Ruby

Collapse
 
thiagoa profile image
Thiago Araújo Silva

Nice post! But from what I understand, he did not say defoverridable is not recommended. He said people were abusing it to define unnecessary default implementations or functions not backed by a behaviour. I guess using it to simulate an OO environment is one of the problems. You can even call super!