MTGZone
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Albbi@piefed.ca to Programmer Humor@programming.devEnglish · 2 days ago

Object oriented programming in Python be like:

media.piefed.ca

message-square
47
fedilink
465

Object oriented programming in Python be like:

media.piefed.ca

Albbi@piefed.ca to Programmer Humor@programming.devEnglish · 2 days ago
message-square
47
fedilink
  • Kay Ohtie@pawb.social
    link
    fedilink
    English
    arrow-up
    30
    ·
    2 days ago

    Wait there’s a “that”???

    • theit8514@lemmy.world
      link
      fedilink
      arrow-up
      41
      ·
      2 days ago

      Only if you define it.

      const that = this

      • mesa@piefed.social
        link
        fedilink
        English
        arrow-up
        14
        ·
        2 days ago

        I remember that a long time ago. Oh god

        • Aurenkin@sh.itjust.works
          link
          fedilink
          arrow-up
          6
          ·
          2 days ago

          I remember this too… what a nightmare.

    • Eager Eagle@lemmy.world
      link
      fedilink
      English
      arrow-up
      30
      ·
      edit-2
      2 days ago

      it’s common practice as a workaround to save this when changing contexts, since this may change under you, in callbacks and such

      • Johanno@feddit.org
        link
        fedilink
        arrow-up
        2
        ·
        1 day ago

        Kotlin:

        this@outerFunction.bla
        

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.3K users / day
  • 4.41K users / week
  • 7.93K users / month
  • 20.3K users / 6 months
  • 5 local subscribers
  • 25.2K subscribers
  • 1.59K Posts
  • 58.1K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.5
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org