Slutty Types
Posted by Davy Brion on October 11th, 2009
Slutty Types are types which:
- give you access to their privates without too many difficulties
- don’t really care about your intentions, or if they do, aren’t very clear on that
- occasionally seem like a good short-term fix
- can be used in a variety of ways, with different outcomes and none of them are guaranteed
- can not to be trusted
- really need to be tested
- will burn you sooner or later if you’re not careful
- become even more of a mess during the aging process
Feel free to add to the list

October 11th, 2009 at 9:01 pm
The first one is great!
October 11th, 2009 at 10:47 pm
isn’t concerned about whether members are protected or not
October 11th, 2009 at 10:53 pm
When you DO use them you feel guilty and a little paranoid about health issues afterward
October 11th, 2009 at 11:38 pm
At least a slutty type will make your member function.
October 11th, 2009 at 11:46 pm
@Danny
only in the short term
October 12th, 2009 at 12:56 am
In before you get accused of being the reason there are so few women in the profession.
They are likely to be involved simultaneously in many concerns
They may well have confusing multi part names
October 12th, 2009 at 5:16 am
I love it.. gotta put this in the next Framework Design Guidelines!
October 12th, 2009 at 8:50 am
Look cheap at first, but end up costing you a lot of money.
October 12th, 2009 at 11:43 am
I’m a starter to Slutty Types, hope to known more about it.
October 12th, 2009 at 3:58 pm
n. Gets mocked a lot by friend assemblies??
October 12th, 2009 at 5:09 pm
Tend to create a code smell
October 12th, 2009 at 6:33 pm
when they expose something interesting, it is definitely some type of string
October 12th, 2009 at 9:32 pm
Slutty types never seem to demand any permission before using them.
October 13th, 2009 at 1:18 am
if not properly sealed, they are bound to pass on problems to all inheritors
October 13th, 2009 at 1:39 am
Slutty Types almost always have an open interface and prefer multiple inheritance.
October 13th, 2009 at 5:16 am
slutty types are sometimes referred to as ‘loose’
you don’t want to find yourself checking out a slutty type
slutty types have a hard time looking at their own reflection (ehh…)
October 18th, 2009 at 11:28 am
slutty types have a different view on what ‘class’ means
October 18th, 2009 at 1:51 pm
Slutty Types hide their real intentions.
October 18th, 2009 at 2:44 pm
Are thread safe… can handle multiple users simultaneously
October 18th, 2009 at 5:04 pm
@Tim
Slutty types aren’t thread safe. They handle multiple users, but tend to avoid any kind of protection.
October 18th, 2009 at 7:39 pm
hehe… they deal with multiple consumers without proper locking!
January 5th, 2010 at 2:03 pm
Are normally flat and often expose only simple types.
January 5th, 2010 at 2:13 pm
oh i’ve seen some well rounded ones that made you deal with quite a few complex structures