Pricefield | Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@xia@lemmy.ca to Programmer Humor@lemmy.mlEnglish • 2 years ago

do as i say...

lemmy.ca

message-square
115
fedilink
1.08K

do as i say...

lemmy.ca

@xia@lemmy.ca to Programmer Humor@lemmy.mlEnglish • 2 years ago
message-square
115
fedilink
  • @PR_freak@programming.dev
    link
    fedilink
    4•
    edit-2
    2 years ago

    Camel case for local variables

    Pascal case for global ones

    The name should tell me it’s purpose

    That’s it

    • @Umbra@dormi.zone
      link
      fedilink
      5•2 years ago

      Right?! People out here are writing a bible on how to name variables lmao

      • @PR_freak@programming.dev
        link
        fedilink
        2•2 years ago

        Yeah I bet they feel so good about having the perfect recipe for naming variables, a recipe only they know or care about

Programmer Humor@lemmy.ml

!programmerhumor@lemmy.ml
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.
  • 7 users / day
  • 34 users / week
  • 142 users / month
  • 1.64K users / 6 months
  • 4 subscribers
  • 1.75K Posts
  • 37.6K Comments
  • Modlog
  • mods:
  • @cat_programmer@lemmy.ml
  • @AgreeableLandscape@lemmy.ml
  • UI: 0.18.4
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org