Advanced Pattern Matching in C#

Поделиться
HTML-код
  • Опубликовано: 19 ноя 2024

Комментарии • 17

  • @DavidSmith-ef4eh
    @DavidSmith-ef4eh 20 часов назад +8

    that escalated quickly... I was able to follow the first 1/4 of the video

  • @Grimlock1979
    @Grimlock1979 19 часов назад +2

    If you write an implicit conversion operator from a tuple to a RedBlackTree, you don't need the TT function. You can just write (R, (B, a, x, b), y, (B, c, z, d)).

  •  2 часа назад

    Thank you for the presentation. That was really informative. I just wonder if anybody will ever know (or will be able to recall) all the ways you can construct these expressions.

  • @m3xpl4y
    @m3xpl4y 22 часа назад

    Hallo Oli, war eine Ehre dich bei der DWX 2024 in Nürnberg dich kennengelernt zu haben, ahh und vielen Dank für das DevExpress T-Shirt :)

  • @BenjaminAyala-u3l
    @BenjaminAyala-u3l 23 часа назад +2

    love pattern matching

  • @parlor3115
    @parlor3115 20 часов назад

    Thank you for this! Can you do elite pattern matching next?

  • @vorontsovru270895
    @vorontsovru270895 20 часов назад +6

    25:54 Don't get me wrong, I really love pattern matching, but writing code like this it's just madness... Who will support this? Even the author will forget what's here in a couple of weeks not to mention the people who will be reading this for the first time.
    Again, I really like this language feature, but it should be used within reasonable limits.
    IMHO

    • @NickMaovich
      @NickMaovich 19 часов назад +3

      I am pretty sure rewriting this code into imperative will spiral out of control much sooner

    • @christoph_wattever
      @christoph_wattever 19 часов назад

      Without resharper or rider I couldn't remember how to write this syntax.

    • @NickMaovich
      @NickMaovich 19 часов назад +2

      @@christoph_wattever you just need to get used to it. It's same with many functional approaches

  • @FilipCordas
    @FilipCordas 23 часа назад +6

    This man should be arrested for that tree balancing nonsense at the end 🤣 for the love of God that's a crime against humanity.

    • @DavidSmith-ef4eh
      @DavidSmith-ef4eh 20 часов назад

      AI can understand it.

    • @Grimlock1979
      @Grimlock1979 19 часов назад +1

      How would you write it then?

    • @FilipCordas
      @FilipCordas 18 часов назад

      @@Grimlock1979 like a normal human being not someone trying hard to look smart

    • @Grimlock1979
      @Grimlock1979 17 часов назад +3

      @@FilipCordas No answer. Thought so.

  • @christoph_wattever
    @christoph_wattever 19 часов назад

    Nice video but tbh, I think pattern matching was fumbled a little bit. Syntax is very weird, nearly impossible to remember, at least for me. Not gonna use it unless resharper suggests it

  • @nothingisreal6345
    @nothingisreal6345 21 час назад

    That tree example impressively shows what is wrong with SW engineering.