IInterface Considered Harmful

Wayne Molina

I’ve seen this discussed years ago as well. There are good reasons, but it’s also ingrained now to identify when something is an interface without having to use Intellisense. I guess I see both sides of the argument. Also remember there was a good type of Hungarian Notation (Apps Hungarian? I forget which was Apps and which was System but the original version of Hungarian Notation was to indicate things about the type that you needed to know, rather than identifying its type), it was just perverted to be the str/int garbage. I’d actually argue that the I prefix is the good kind of Hungarian Notation (as good as it can be nowadays of course) so isn’t quite as bad as the datatype prefixing.