News for hackers. Stuff that matters.
Re:An Ode to Ruby by Mikeb85 on Monday January 10, 2022 @11:21AM (#29877143)
Ruby has map, filter, reduce and a bunch of other functional methods. It's more about the consistency of wondering what's a function versus what's a method and then things like list comprehensions and for loops. Python also doesn't have a lot of the goodies of a real functional language, it encourages for loops and seems to be even more procedural than Ruby but less OO?

There are no comments on this comment yet.