• CrackedLinuxISO@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    26
    ·
    edit-2
    2 天前

    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
      5
      ·
      16 小时前

      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.