ValueSemantics—A Gem for Making Value Classes
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 #rails #rubyonrails #bosnia #programming #tutorials #rubydeveloper #railsdeveloper