Joined September 2012
·

Ian Wootten

niftydigits
·
Sunny Cardiff
·
·

Posted to Me, my self and that over 1 year ago

@stevefrost Oh, Steve - just confuse matters why don't you?

Also, no.

Posted to Me, my self and that over 1 year ago

@professorsloth Where large businesses are concerned and different development strategies exist, it rarely is that simple.

Posted to Me, my self and that over 1 year ago

@edtheprogrammer Not for the majority of javascript I've worked in. Like I said, how can this ever equal that? - in common vernacular they're opposites.

Remember, Crockford is just a man.

Posted to Me, my self and that over 1 year ago

@gagege I guess my original point is related to a singleton based approach, where you would have a single reference to this. More the point was the generic term that's used in those cases.

Unless you have several different classes described in 1 file, you'd have no need to backtrack through hundreds of lines of code to determine what class the file you're currently in is.

Posted to Me, my self and that over 1 year ago

@darkmantiscs If we are to adopt a convention, I personally prefer "self" over "_self", given the concept of private variables (which the underscore denotes) doesn't really hold when creating a reference within individual functions.

Posted to Me, my self and that over 1 year ago

@mauris Nothing. That's my point - you should use "self".

Achievements
784 Karma
93,692 Total ProTip Views
Interests & Skills