Ralph Melton (ralphmelton) wrote, 2001-09-24 14:07:00 Ralph Melton ralphmelton 2001-09-24 14:07:00 Previous Share Next I Grumble About Code Yet Again This repeated use of only the first thing returned by an iterator is evidence of poor design.If there can only be one, don't use an iterator.If there could be more than one, do your thing for each of them. Subscribe Post a new comment Error We will log you in after post We will log you in after post We will log you in after post We will log you in after post We will log you in after post Anonymously switch LiveJournal Facebook Twitter OpenId Google MailRu VKontakte Anonymously default userpic Your IP address will be recorded When you submit the form an invisible reCAPTCHA check will be performed. You must follow the Privacy Policy and Google Terms of use. Post a new comment Preview comment Help 2 comments Post a new comment 2 comments
This repeated use of only the first thing returned by an iterator is evidence of poor design.If there can only be one, don't use an iterator.If there could be more than one, do your thing for each of them.