ProIT
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
hairinmybellybutt@lemmy.world to Programmer Humor@lemmy.ml · 2 years ago

text.getvariablename().settext("text_variable").settext("some text")

lemmy.world

external-link
message-square
7
link
fedilink
65
external-link

text.getvariablename().settext("text_variable").settext("some text")

lemmy.world

hairinmybellybutt@lemmy.world to Programmer Humor@lemmy.ml · 2 years ago
message-square
7
link
fedilink
alert-triangle
You must log in or register to comment.
  • 14th_cylon@lemm.ee
    link
    fedilink
    arrow-up
    4
    ·
    2 years ago

    the worst part is that everyone laughs at this and then everyone does that anyway at some point…

  • Julian@lemm.ee
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    2 years ago

    I’ve literally written the line “getComponent<Text>().text = text.text;” for a unity game before.

    • hairinmybellybutt@lemmy.worldOP
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      2 years ago

      I absolve you of your sins

  • Bagel@lemmy.ca
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    My daily naming issue is when unwrapping nullables in C# you gotta name that new variable. I welcome suggestions.

    • pizzaiolo@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      nullableUnwrapVar

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: [email protected]

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.

  • 596 users / day
  • 1.69K users / week
  • 2.36K users / month
  • 10.4K users / 6 months
  • 1 local subscriber
  • 35.6K subscribers
  • 1.72K Posts
  • 38K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org