Skip to content

What is the reason behind Hungarian notation in the interfaces? #4471

Answered by qrli
Orfac asked this question in Q&A
Discussion options

You must be logged in to vote

Simply because more people were used to it and prefered it, at that time when .NET was created.
Naming is hard. Java names interfaces by adjectives, like Enumerable, to differentiate from classes. But it is not always easy to find a good adjective word. With I prefix, it is easy to come up names like IPlugin, IAuthorizationHandler...

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by Orfac
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@Orfac
Comment options

@theunrepentantgeek
Comment options

@Orfac
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants