Coffeehouse Post

Single Post Permalink

View Thread: C# trivia question
  • User profile image

    I work with guys I've shown things like ?? to but they still like writing statements like:

    if (isDirty != null && isDirty == true){

    Forget the adoption of ??; comparing a Boolean? They say that it's more readable. Ug...

    (Ok, a nullable Boolean is a bad example but you get what I mean.)