Ralph Melton (ralphmelton) wrote,
Ralph Melton
ralphmelton

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

    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.
  • 2 comments