3 ms·
If your reaction to iterators is “so what?” then I would say you fundamentally don’t understand computation. Asking “so what?” about iterators has plenty of us
by 4death4 3y ago
If your reaction to iterators is “so what?” then I would say you fundamentally don’t understand computation.
Asking “so what?” about iterators has plenty of useful answers that will aide you in programming. The same is not really true about functors.
- jerf 3y agoThe linked article goes into detail about what I mean about that, but what I mean is that some of these concepts have a lot of mystery around them that are not deserved. Many people penetrate this mystery and then wonder what the deal was with the mystery. For these particular concepts, that's generally a good sign. Iterators are important... but they are not conceptually complicated. They're just a way of getting a "next element". Behind that may be a lot of complexity for some particular iterator, but that complexity should be accounted to the implementation, not the concept of iterator.
- 4death4 3y ago> Iterators are important... but they are not conceptually complicated. To me, the essence of asking “so what?” is primarily about importance not complexity. When you ask “so what?” You’re essentially asking “Why should I care? What can this do for me?” It doesn’t really matter whether or not the subject is complex.