Master the PriorityQueue - A New Collection in .NET

แชร์
ฝัง

ความคิดเห็น • 14

  • @Curlack
    @Curlack 22 ชั่วโมงที่ผ่านมา +11

    If I could have my way, you would be sitting next to me in the office. I would absorb all of your skills better by working next to you. Thanks to your videos, I've regained my passion for programming again. Thank you.

    • @zoran-horvat
      @zoran-horvat  22 ชั่วโมงที่ผ่านมา +1

      @@Curlack I like to hear from people who do not see programming just as a job. Such people have built all we have in programming today.

    • @WillEhrendreich
      @WillEhrendreich 17 ชั่วโมงที่ผ่านมา

      If I were an educator, I would consider this the absolute highest compliment I could receive. I hope you continue to find even more joy in what you do. Joy, even the hope of future joy, is one of the most powerful sustaining forces in the world. It reminds me of what the New Testament authors said that Jesus thought about the crucifixion (and regardless of what you think about the historicity or whatever, the point is a psychological one), "For the JOY set before Him, He endured the cross". That's something pretty wild, when you think about it. It was joy that made horror endurable. I think about that a lot, especially when I'm discouraged. Being discouraged sucks, and it happens more often than I'd like. I miss fsharp every time I write csharp, and that's what I've been hired to do! That's what all my production code has to be in, and coming from a functional programming language with it's simplicity and elegance to csharp where it's so much more work to do everything it's just a constant challenge to remain positive when I'm constantly feeling like there's an easier way. Do you have similar frustrations? What's been the source of your discouragement?

    • @rakeshkumarreddymudda
      @rakeshkumarreddymudda 17 ชั่วโมงที่ผ่านมา +3

      I totally agree with Curlack. Zoran horvat is very good in concepts and clarity in it. I watch vedios when ever he uploads. Atleast we have another way to grab his knowledge from him by watching his vedios

  • @serviceengine
    @serviceengine 21 ชั่วโมงที่ผ่านมา +2

    Mind blown! Which is a positive indicator. I'll need more than one time to watch it and process it. Thanks, Zoran, I like it very much!

  • @LordErnie
    @LordErnie 23 ชั่วโมงที่ผ่านมา +3

    Why is the SortOrder type a record struct?

    • @zoran-horvat
      @zoran-horvat  23 ชั่วโมงที่ผ่านมา +8

      @@LordErnie Keys are easier to manage when they are value types. For example, the comparison is non-nullable, which is convenient.

  • @Tesfamichael.G
    @Tesfamichael.G 20 ชั่วโมงที่ผ่านมา +1

    Thanks Zoran!

  • @63pufferfish
    @63pufferfish 15 ชั่วโมงที่ผ่านมา

    Only place I ever used priority queue is when solving maze/sortest path programming puzzles.

  • @nickw656
    @nickw656 4 ชั่วโมงที่ผ่านมา

    the video can be easier to understand given a simpler example: `var pq = new PriorityQueue(new ReverseComparer());` and `public class ReverseComparer : IComparer{ public int Compare(int x, int y) => y.CompareTo(x); }`.

  • @whatinthebloodyhell
    @whatinthebloodyhell วันที่ผ่านมา +1

    Great content!

  • @eugene5096
    @eugene5096 10 ชั่วโมงที่ผ่านมา

    With all respect, the code itself is not complicated but the logic what its doing is, maybe its only me but im always have issues understanding what we are actually doing rather a functional approach or whatever is the topic is.

    • @zoran-horvat
      @zoran-horvat  9 ชั่วโมงที่ผ่านมา +1

      @eugene5096 Start from understanding the pipeline. Then step into each of the lower steps.