Flashes Home Search Notifications Sign in Post
FastRuby.io @fastruby.io · 26d

Ruby's Data class is frozen by default, so p.name = "Ana" raises instead of silently mutating, and p.with(age: 31) hands back a fresh copy. Fewer methods than Struct, fewer surprises. go.fastruby.io/cpu #Ruby #ImmutableData

0 likes 0 replies

?

Legal

Privacy Policy Terms and Conditions

Contact

FAQs Feedback

Follow

Bluesky Instagram Threads
Flashes for Bluesky Get it on the App Store

Feeds

  • Global
  • Trending
  • Blacksky Images
  • Photography
  • Discover
Browse all feeds
Feedback Ideas, bugs, and what ships next
Privacy Policy Terms and Conditions FAQs Bluesky Instagram Threads
Get it on the App Store