Login
You're viewing the ruby.social public feed.

Replies

  • Nov 26, 2026, 2:13 AM

    @alexhall There's `self` with a lowercase S, which is typically the name of the first parameter in instance methods. And then there's `Self` with a capital S, which you import from the `typing` module and use as a type annotation.

    💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0