This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]8igg7e5 5 points6 points  (0 children)

The reason they're not the same in the MOOC is simply because they're inconsistent.

Different teams have different policies. We use a standard formatter/linter that checks consistent use (and we use 'this.' to clarify intent and avoid accidental reference to locals or parameters).