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.
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
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
that escalated quickly... I was able to follow the first 1/4 of the video
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)).
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.
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 :)
love pattern matching
Thank you for this! Can you do elite pattern matching next?
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
I am pretty sure rewriting this code into imperative will spiral out of control much sooner
Without resharper or rider I couldn't remember how to write this syntax.
@@christoph_wattever you just need to get used to it. It's same with many functional approaches
This man should be arrested for that tree balancing nonsense at the end 🤣 for the love of God that's a crime against humanity.
AI can understand it.
How would you write it then?
@@Grimlock1979 like a normal human being not someone trying hard to look smart
@@FilipCordas No answer. Thought so.
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
That tree example impressively shows what is wrong with SW engineering.