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

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

  • 14th_cylon@lemm.ee
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

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

  • Bagel@lemmy.ca
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

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