News for hackers. Stuff that matters.
Re:LowType: Elegant Types in Ruby by Alifatisk on Tuesday November 25, 2025 @10:56AM (#46047031)
Actual types to Ruby code, with type checking? Am I dreaming?
Re:LowType: Elegant Types in Ruby by oca159 on Tuesday November 25, 2025 @02:28PM (#46049680)
It looks pretty similar to the literal gem, i think they are the same, would be great to have a comparison: https://literal.fun/docs/types.html
Re:LowType: Elegant Types in Ruby by lowtype on Tuesday November 25, 2025 @06:32PM (#46052143)
I'm new to the Literal gem, it looks really well thought out. I think they differ in approach quite substantially though, it's reminding me more of Dry Struct: https://dry-rb.org/gems/dry-struct/main/

When there's time I could try to make a comparison table