Ví dụ đời thườngReal-life analogy
Bạn nghe playlist trên Spotify và chỉ bấm 'bài tiếp'. Bạn không cần biết bài hát nằm ở server nào, được tải trước bao nhiêu bài. Nút 'next' chính là iterator: giấu hết chuyện lưu trữ, chỉ đưa bạn từng bài một.You play a Spotify playlist and just hit 'next'. You don't care which server holds the songs or how many are pre-loaded. The 'next' button is an iterator: it hides storage details and hands you one song at a time.