• CrackedLinuxISO@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    27
    ·
    edit-2
    6 days ago

    Gary should learn about Lazy<T> and stop reinventing the wheel.

    I put blame on any of his senior coworkers who didn’t use this as a teaching opportunity during PR.

    • dax@feddit.org
      link
      fedilink
      arrow-up
      8
      ·
      5 days ago

      Or just services.AddSingleton<X>. There’s plenty to criticize in C#, or any language, but this ain’t it. Most of the new language features just make the code shorter without loosing clarity. Really liking newer C# versions.