News for hackers. Stuff that matters.
Re:I Love Ruby by rdoherty on Monday December 18, 2023 @08:37PM (#38690765)
Yeah tbh after working with Ruby for nearly 2 decades now and with a handful of other languages I think Ruby could use some parentheses and other common symbols. It really is too easy to create what are DSLs which requires learning another language and layer of abstraction.
Re:I Love Ruby by djur on Tuesday December 19, 2023 @01:29AM (#38692521)
You can always use parentheses for method calls. I've worked on codebases that mandated it. It feels a little weird in some contexts but it's fine.
Re:I Love Ruby by vidarh on Tuesday December 19, 2023 @04:08AM (#38693433)
Every method or function you create in any language creates a DSL. It's an odd objection.