About 11,800,000 results
Open links in new tab
  1. What is the purpose of the `self` parameter? Why is it needed?

    For a language-agnostic consideration of the design decision, see What is the advantage of having this/self pointer mandatory explicit?. To close debugging questions where OP omitted a …

  2. node.js - NPM self_signed_cert_in_chain - Stack Overflow

    NPM self_signed_cert_in_chain Asked 9 years, 10 months ago Modified 4 months ago Viewed 205k times

  3. git - SSL certificate problem: self signed certificate in certificate ...

    Aug 2, 2019 · The reason was an SSL certificate problem: 'self-signed certificate in certificate chain.'" Protected question. To answer this question, you need to have at least 10 reputation …

  4. nodejs - error self signed certificate in certificate chain

    What I get is Error: self signed certificate in certificate chain. When I use Postman I can import the client certificate and key and use it without any problem.

  5. When to use self, &self, &mut self in methods? - Stack Overflow

    Nov 24, 2019 · Say I want to implement a method that pretty prints the struct to stdout, should I take &self? I guess self also works? As you can see, this is exactly a case for &self. If you use …

  6. Difference between 'cls' and 'self' in Python classes?

    Why is cls sometimes used instead of self as an argument in Python classes? For example: class Person: def __init__(self, firstname, lastname): self.firstname = firstname self.

  7. python - Should I use "self" to define variables / objects of class ...

    If you dont use self.some_temp_var, then you are defining a local variable which will be garbage collected after the constructor. So yes you need self if you want to define an instance attribute …

  8. Javascript `this` vs Python `self` Constructors - Stack Overflow

    Aug 9, 2017 · Javascript `this` vs Python `self` Constructors Asked 8 years, 3 months ago Modified 1 year, 7 months ago Viewed 9k times

  9. javascript - var self = this? - Stack Overflow

    You should avoid self as there is a window.self object and you could end up using that accidentally if you forget to declare your own self var (e.g. when moving some code around). …

  10. Difference between Python self and Java this - Stack Overflow

    Feb 11, 2014 · Moving further: Technically both self and this are used for the same thing. They are used to access the variable associated with the current instance. Only difference is, you …