In Dart the leading underscore has private semantics (like lower-case in Go). I guess it's easier to translate TS to Dart and some like it anyway as convention.
On Thursday, January 14, 2016 at 3:49:27 PM UTC+1, nucl3ar wrote: > > Hi, > > I'm looking for a naming convention for Angular 2 but couldn't find any. > > I've seen some samples where leading underscore for private members were > commonly used. > > But I don't see the point since there is the keyword "this". > > Can somebody enlightens me on this matter ? > > Thanks > -- 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.
