Brdsnest Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
JPDev@programming.dev to Programmer Humor@programming.dev · 1 年前

Always try sudo

programming.dev

message-square
100
fedilink
1.09K

Always try sudo

programming.dev

JPDev@programming.dev to Programmer Humor@programming.dev · 1 年前
message-square
100
fedilink
  • Kogasa@programming.dev
    link
    fedilink
    arrow-up
    3
    ·
    1 年前

    That’s an instance property

    • jaybone@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 年前

      Is this some .NET convention that references to instances start with capital letters?

      • Kogasa@programming.dev
        link
        fedilink
        arrow-up
        3
        ·
        1 年前

        Yeah, properties (like a field but with a getter and/or setter method, may or may not be backed by a field) are PascalCase

        • robotica@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          1 年前

          How is OldMan a property here? It’s clearly the name of a class

          • Kogasa@programming.dev
            link
            fedilink
            arrow-up
            1
            ·
            1 年前

            Instance properties are PascalCase.

            • robotica@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              1 年前

              Yes I know, I’ve coded in .NET before, but so are class names.

              • Kogasa@programming.dev
                link
                fedilink
                arrow-up
                1
                ·
                1 年前

                Okay, but this makes more sense as an instance method rather than a static one

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.

  • 591 users / day
  • 4.51K users / week
  • 9.28K users / month
  • 19.1K users / 6 months
  • 1 local subscriber
  • 27.6K subscribers
  • 1.63K Posts
  • 46.4K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org