SDF Chatter
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
DonjonMaister@programming.dev to Programmer Humor@lemmy.ml · 2 years ago

The difference between an instance variable and a static variable.

programming.dev

message-square
10
link
fedilink
  • cross-posted to:
  • programmer_humor@programming.dev
34

The difference between an instance variable and a static variable.

programming.dev

DonjonMaister@programming.dev to Programmer Humor@lemmy.ml · 2 years ago
message-square
10
link
fedilink
  • cross-posted to:
  • programmer_humor@programming.dev

cross-posted from: https://programming.dev/post/146762

  • tiredofsametab@kbin.social
    link
    fedilink
    arrow-up
    7
    ·
    2 years ago

    Perl actually uses my and our to do scope.

    my @foo;

    our $bar;

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

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: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

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

  • 169 users / day
  • 674 users / week
  • 1.91K users / month
  • 8.59K users / 6 months
  • 444 local subscribers
  • 38.3K subscribers
  • 1.87K Posts
  • 40.1K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org