News for hackers. Stuff that matters.
Re:Rails is not written in Ruby by progval on Monday February 07, 2022 @05:31PM (#30252320)
> In the Ruby way, with otherwise similar setup, you would have a mixin that provided __iter__() given __len__() and __getitem__(),

Python does have such a mixing, it's collections.abc.Sequence https://docs.python.org/3/library/collections.abc.html#colle...

There are no comments on this comment yet.