News for hackers. Stuff that matters.

lkjsaofinwdfsdf

Re:Rails is not written in Ruby on Friday February 04, 2022 @06:21PM (#30214919)
This is no longer a testimony of Ruby's strength, or rather this highlights Ruby's age and stagnation.

D, Go, C#, Rust, Swift, Kotlin, Scala, Haskell, and (more I'm forgetting) already have this without the hack of monkey patching.

If you really find beauty in DSL's you should look into tagless final encoding in Haskell.

From what I recall Ruby still doesn't have first-class ADT's. Meanwhile Java will be getting sealed classes (the OO orthogonal to ADTs) with pattern matching.