• velindora@lemmy.cafe
    link
    fedilink
    English
    arrow-up
    2
    ·
    20 hours ago

    My philosophy here is that we should attempt to avoid implementing code which could lead to invalid UI states.

    Mfer never heard of scope creep, deadlines, and not giving a fuck.

  • cecilkorik@piefed.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    18 hours ago

    Here I’ll fix it:

    user?.name ?? "ERROR: the user is invalid"

    Why yes, my son, little Bobby Tables we call him, is on a playdate with his best friend ERROR right now, why do you ask?