3 ms·
That looks like a Ruby one-liner which is very OO (calling methods with blocks on everything, everything also being an object is very Smalltalk-esque). Python'
by Mikeb85 5y ago
That looks like a Ruby one-liner which is very OO (calling methods with blocks on everything, everything also being an object is very Smalltalk-esque).
Python's problem isn't a lack of lambdas, it's a lack of consistency; for some things you use functions and for others methods.