Value objects in Ruby - The idiomatic way
I will discuss what a value object is, the concept of immutability, using Ractors to deeply freeze an object, and combining the Data class with pattern matching, all illustrated with code samples.
Let's deep dive
#Ruby#Rails#Coding #PatternMatching
With these 3 test functions, you test @elixirphoenix's LiveView form E2E
1. User can see the form
2. User gets real-time input validation errors
3. User can submit the form successfully
4. User data is persisted in the database
#myelixirstatus
Ruby DX in @code clearly improved with the Ruby LSP from @ShopifyEng - no idea how they've managed to get auto formatting work so fast, but they've made it. Click-based code navigation seems to work well too. Great progress here!
#MyRubyStatus
Linux nerds need more self-confidence. What's been built over the last thirty years is incredible. All it needs is a vibe shift, which is coming as Apple fumbles with developers and Microsoft goes a bit too heavy on the AI juice. And then marquee companies like @FrameworkPuter!
I finally finished the v1 of a free story points estimation tool I made using Elixir, Phoenix, Presence and a GenServer #MyElixirStatus
Go check it out => https://t.co/ruh3ldCrt6
More positive signals for the mainstream momentum of @elixirlang:
- Blooming popularity of @gleamlang paired with the upcoming Elixir type system
- streamers such as @teej_dv in his stream today embracing and showcasing the language
@pauld_fgc My wife also has stomach pain. We often buy a bread called Ezekiel. There are variations and we usually go with whatever is available which is usually just one type.