title: Naming of an algorithmic antipattern
body: <p>I'm having problems to recall the name of doing something with quadratic complexity when it can be solved linearly.</p>
  
  <p>For example, using a <code>get-by-index</code> function to iterate over a linked list instead of just using a <code>next-element</code> is the typical case of this antipattern.</p>
  
  <p>I think it was the "something painter", as a metaphor of a guy that is painting a road, but doesn't carry with him the paint bucket and has to come back to the starting point every time he needs to refill the brush.</p>
  
  <p>Cheers.</p>