Abstraction Distraction

AbstractionDistraction code smell is when the code contains multiple abstraction levels mixed.

It is usually resolved by extract-method on the lower level code and give it a good name.

Terry Yin came up with a good example of AbstractionDistraction: "Tom married Jill and then he had a cup of tea."

-- Bas

Maybe Jill was such a bore that the tea was the highlight?


EditText of this page (last edited March 11, 2014) or FindPage with title or text search