• Kogasa@programming.dev
    link
    fedilink
    arrow-up
    85
    arrow-down
    2
    ·
    1 year ago

    People ITT hating on null coalescing operators need to touch grass. Null coalescing and null conditional (string?.Trim()) are immensely useful and quite readable. One only has to be remotely conscious of edge cases where they can impair readability, which is true of every syntax feature