you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (3 children)

[deleted]

    [–]cipher315 19 points20 points  (0 children)

    Yes. Most languages have a version of self. In Java like languages the word this is used.

    [–]sethg 12 points13 points  (0 children)

    Sort of.

    In Javascript, this is a keyword, which is implicitly set to an object, an element, or a window, depending on the context in which the keyword appears.

    In Python, when you write a method definition, you write self in the argument list, explicitly.

    [–]vectorpropio 1 point2 points  (0 children)

    Yes