C# 8 and Beyond - Filip Ekberg

Поділитися
Вставка
  • Опубліковано 6 лис 2024

КОМЕНТАРІ • 21

  • @alexclark6777
    @alexclark6777 5 років тому +1

    Most of the new features are terrific; some cause me to wonder why though. Are we really saving anything by removing the need to implement IDisposable and just have a Dispose method? Seems like we're pushing it towards duck-typing and that can bring its own set of woes. Same goes for Deconstruct - is the compiler just looking for a method of that name to map to? Would it not have been better to have an IDeconstructable interface and allow classes to opt in that way?

  • @vmilev
    @vmilev 5 років тому +6

    Record Types unfortunately seems to have been dropped from C# 8.0. Any ideas if it is still planned for C# 8.x minor update, or it will be in C# 9 and beyond?

  • @Grimlock1979
    @Grimlock1979 5 років тому +2

    46:14 "I would vote for the 1st one because they don't have to introduce any new keywords" It still introduces the "not" keyword, haha.
    Anyway, I think the 1st one is the only good option. If you have && or || with a mix of "is" and "is not" you run into the same problem again with "unless"

  • @rubeushagrid4131
    @rubeushagrid4131 3 роки тому

    You can also release videos that are short and crisp.

  • @acf2802
    @acf2802 5 років тому +1

    50:00 so integers now contain a member integer... Human sacrifice, dogs and cats living together, MASS HYSTERIA!

  • @dmitrij34
    @dmitrij34 5 років тому +1

    Not a fan of deconstruct pattern(presented use cases are literally unreadable, but maybe other nicer ones will pop up), but property pattern seems cool.

    • @dmitrij34
      @dmitrij34 5 років тому

      Nullable reference types - finally!

  • @VoroninPavel
    @VoroninPavel 5 років тому

    I hope Record Types will have generated private parameterless constructor and properties with private setters. I want them to work soothly with EF Core.

  • @UPSCCSE-ku7ej
    @UPSCCSE-ku7ej 4 роки тому

    Awesome

  • @isrcast01
    @isrcast01 5 років тому +4

    Please make presenter smaller and presentation bigger.

    • @alexclark6777
      @alexclark6777 5 років тому

      That feature is coming in C# 8.1

  • @frankhaugen
    @frankhaugen 5 років тому

    In 9, I hope they do a breaking change and remove goto, which is the grandchild of the devil!!!

    • @darcyfreakthomas
      @darcyfreakthomas 5 років тому +1

      You could write a Roslyn analyser to give an error if you try to use a goto.

    • @frankhaugen
      @frankhaugen 5 років тому +1

      @@darcyfreakthomas oh, I have a custom PowerShell script I run on my projects pre-build, that checks line count and words like goto, region etc.
      (If you're code needs regions, it's time to refactor)

    • @darcyfreakthomas
      @darcyfreakthomas 5 років тому

      @@frankhaugen Nice.

  • @loam
    @loam 5 років тому +6

    The guy just loves to show himself off: Ugh, look at me, I'm in a diving suit, I can dive and swim, wow, I'm so cool! Ugh, I fixed broken link in the github account of C#, wow, AMAZING, I'm soooo in love with myself!
    And why the fuck would you show the picture in the diving suit, when talking about C#, it's like "Ugh, I'm sorry, don't have any regular photos, so here's the one with diving suit for NO FUCKING REASON!"

    • @craigbeaumontable
      @craigbeaumontable 5 років тому +7

      Jealous much?

    • @loam
      @loam 5 років тому +2

      @@craigbeaumontable fuff...

    • @totalermist
      @totalermist 5 років тому +3

      That diving suit that was visible for 15s really got to you, eh 😁?

    • @topbanana188
      @topbanana188 5 років тому

      Nob

    • @Paralellex
      @Paralellex 5 років тому +1

      It's gotta suck being so angry about everything