Feature #6305
closedLazy
Description
I believe we discussed before but I couldn't find the issue, so I'll just bring it up again.
Might MenTaLguY's Lazy library make it's way into Ruby proper?
Updated by mame (Yusuke Endoh) over 12 years ago
- Status changed from Open to Feedback
Explain why a gem does not work for you.
--
Yusuke Endoh mame@tsg.ne.jp
Updated by trans (Thomas Sawyer) over 12 years ago
That's kind of the thing about this actually. Because this library is a gem I am not using it even when I probably should be --or I am reinventing the wheel and probably in not the most robust fashion.
Also, since lazy enumeration is now being introduced to the language it seems like appropriate time to introduce general lazy features as well.
For use cases, Ruby Best Practices By Gregory T. Brown has a good chapter called "Laziness Can Be a Virtue".
Updated by mame (Yusuke Endoh) over 12 years ago
- Status changed from Feedback to Rejected
That's kind of the thing about this actually. Because this library is a gem I am not using it even when I probably should be --or I am reinventing the wheel and probably in not the most robust fashion.
Recently, we focus on "small Ruby" by moving stdlibs to gems because
adding a stdlib makes maintenance and release management hard.
2.0 will remove no stdlib for matz's compatibility policy, though.
Anyway, the reason you said is non-sense.
Personally, I understand you.
Picking wheat from chaff gems is not exciting work.
I suggested a separate "blessed" gem repository [ruby-core:26388]
for the reason, but I received a lot of hate.
Also, since lazy enumeration is now being introduced to the language it seems like appropriate time to introduce general lazy features as well.
I think it would be a better timing after lazy enumeration grows popular.
Please tell us if there is another "good" reason.
--
Yusuke Endoh mame@tsg.ne.jp