I don't like the naming convention used for this interface in angular2 (not 
sure if this is generally the convention):

"export class MyComponent *implements OnInit*"

I think if an interface has been defined for the purpose of a class to 
implement it should be prefixed with an 'I' like you would typically do in 
C#/.NET.

So instead of "implements OnInit" it should be "IOnInit" or 
"IInitializable" or "ICanBeInitialized".

Do people agree? Worth raising on the GitHub repo?

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to