-1

Say I have class that is partially implemented as a static class and partially implemented as a singleton.

Besides "kludge" and "code-smell" (imo this is both) is there a more appropriate term for this type of mixing programming idioms?

7

The time honored tradition is to name this type of error after the programmer that made it, and then refer to similar errors with that name until you find someone worse. :-)

1
  • I like it (I am sure I can get some named after me). – Martin York Dec 6 '11 at 12:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.