READ N TRY

Roman's website about chip carving, whittling, and woodturning

Tag: Design Pattern

  • Extend While-Loop with Iterator Design Pattern

    The “while” loop is a common structure in programming languages, but sometimes it may bring a readability issue. This post describes how the Iterator design pattern can improve readability of some while-loop implementations.