DEV Community

loading...

Discussion on: Flexible Ruby Value Object Initialisation

databasesponge profile image
MetaDave 🇪🇺 Author

Yes, it is a duck check, but I don't want a type check or a duck check. Or any kind of check, really.

What I'm describing is how to achieve the aim of not doing those checks. If that is not an aim that someone shares then they of course are free to implement a different methodology.