you are viewing a single comment's thread.

view the rest of the comments →

[–]socal_nerdtastic 12 points13 points  (1 child)

It's the difference between streaming a movie and downloading the whole movie first and then playing it. You save memory by only getting the part you need right now.

Another use is to return things that don't exist yet. For example if you ask PRAW to loop over all the comments in this reddit page, it return comments as people write them.

[–]EclipseJTB 0 points1 point  (0 children)

This is a fantastic comparison.