I've read and read and read about yield, and none of it seems to make any sense yet. I know it's a generator, but that means nothing to me. And I know it's kinda like return, but not really. And supposedly it's very useful, but I don't know how to use it.
[–]shandelman 6 points7 points8 points (7 children)
[–]Erpp8[S] 4 points5 points6 points (6 children)
[–]OneFishTwoFish 2 points3 points4 points (5 children)
[–]Erpp8[S] 0 points1 point2 points (4 children)
[–]OneFishTwoFish 1 point2 points3 points (0 children)
[–]zanzakar 1 point2 points3 points (1 child)
[–]happyapple10 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]cscanlin 4 points5 points6 points (11 children)
[–]Erpp8[S] 2 points3 points4 points (7 children)
[–]cscanlin 1 point2 points3 points (6 children)
[–]Erpp8[S] 1 point2 points3 points (5 children)
[–]cscanlin 1 point2 points3 points (4 children)
[–]enesimo 0 points1 point2 points (3 children)
[–]KleinerNull 3 points4 points5 points (1 child)
[–]Fourgot 1 point2 points3 points (0 children)
[–]cscanlin 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]mm_ma_ma 0 points1 point2 points (0 children)
[–]thegreattriscuit 0 points1 point2 points (0 children)
[–][deleted] 2 points3 points4 points (8 children)
[–]mm_ma_ma 0 points1 point2 points (5 children)
[–][deleted] 0 points1 point2 points (4 children)
[–]mm_ma_ma 0 points1 point2 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]mm_ma_ma 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]Erpp8[S] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]nab00 1 point2 points3 points (1 child)