ValueSemantics—A Gem for Making Value Classes
01-Feb-2019 2257
Today I am announcing ValueSemantics — a gem for making value classes. This is something that I’ve been using in my personal projects for a while, and I think it’s now ready for public use as of v3.0.In this article, I will give an overview of the gem, but I mainly want to talk about the thought process behind designing a library. We’ll look at:featuresdesign goalscomparisons to similar gemsthe module builder patterncase equalitycallable objectsopinions about freezingIntegration Continuity™designing DSLsstability in cross-cutting concerns.
ValueSemantics—A Gem for Making Value Classes #ruby #rubydeveloper #rubyonrails #ValueSemantics—A #Making #Value #Classes #classes #gem https://rubyonrails.ba/link/valuesemantics-a-gem-for-making-value-classes