Has anyone come across a ravioli code?

 

My question is in the context of this discussion:

https://stackoverflow.com/questions/2052017/ravioli-code-why-an-anti-pattern


The code that I come across on MQL often lacks levels of abstraction and modularity.

I would be interested to see an example of code with an excessive level of abstraction or modularity. Excessive to the point that it would be an anti-pattern. Can anyone show an example of such code?

Ravioli code - why an anti-pattern?
Ravioli code - why an anti-pattern?
  • 2010.01.12
  • Tola Odejayi Tola Odejayi 3,019 9 9 gold badges 32 32 silver badges 46 46 bronze badges
  • stackoverflow.com
I recently came across a term 'God object' which was described as an 'anti-pattern'. I'd heard of bad coding practices, but I'd never heard them described thus. So I headed off to Wikipedia to find out more, and I found...
 

I just read this. Well, it's not ravioli, it's just nonsense. A person with minimal experience will not do this.

I would like to see ravioli written by a more or less experienced programmer who “went too far”.


My code is modular, somewhat portable, and contains layers of abstraction. How can I tell if it's overkill? Where is the line between "ok" and "too much"?😄