Content deleted Content added
No edit summary |
No edit summary |
||
Line 25:
I'm a software engineer (a real one (yeah, I know this is a very inflammatory way to start ;))) and I have difficulties understanding this article. For example, in the ''Motivation'' section it is mentioned that the code of the iterator must be duplicated everywhere the list must be iterated over. Why? Are we talking about the machine code (even then, I wouldn't understand why it would need to be inlined) or about the high-level language code? E.g. in Java, when I have to iterate over a Collection, I don't see myself duplicating any code. --[[User:132.210.56.50|132.210.56.50]] 15:21, 28 February 2006 (UTC)
:'''''Me again'''''. After reading the code examples that come right after, I got it.. we were talking about the high-level language repetition of the "get the iterator/loop until itr.next() returns null" stuff. Maybe it should be made explicit in the text? I'm too slow? ;) --[[User:132.210.56.50|132.210.56.50]] 15:30, 28 February 2006 (UTC)
|