Interfaces in Go - Discovering Behavior

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 พ.ย. 2024

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

  • @sudomateo
    @sudomateo  5 หลายเดือนก่อน

    Please excuse the nasally voice. I recorded this just as I was getting sick so I was a bit stuffy.

  • @IntuitiveCode
    @IntuitiveCode หลายเดือนก่อน

    Why hasn't this channel taken off yet? Great content. I can see you put a lot of time into this.

    • @sudomateo
      @sudomateo  หลายเดือนก่อน

      Haha thank you for the kind words. I don't post clickbait content so that already limits viewers. I also don't do a ton of production and/or editing due to lack of time. I'd like to find a stable editor that's tech oriented to help increase the video quality and free up my time to do more recording.

  • @AlexandreGomes-n3d
    @AlexandreGomes-n3d 4 วันที่ผ่านมา

    Hey, that was the best interface video I saw. Congrats, keep doing please :]

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

      @@AlexandreGomes-n3d heck yeah! Thank you for watching. More content coming soon. Been a busy few weeks for me.

  • @Cspartan_1291
    @Cspartan_1291 5 หลายเดือนก่อน +1

    MOM! Wake up! Matthew uploaded a new video!

    • @sudomateo
      @sudomateo  5 หลายเดือนก่อน

      This is the way!

  • @0lange
    @0lange 5 หลายเดือนก่อน

    Loving the go content, so clear and easy to grasp. I would pay for your courses 😆

    • @sudomateo
      @sudomateo  5 หลายเดือนก่อน

      Thank you for the kind words! I'm not against creating course content, I would just need to dedicate time to creating the content and make sure it's financially accessible to everyone. I have some strong opinions on some of the course content out there that takes advantage of aspiring engineers.

    • @0lange
      @0lange 5 หลายเดือนก่อน

      Fair enough :I)
      Also a future video suggestion: concurrency stuff (channel and mutex)

    • @sudomateo
      @sudomateo  5 หลายเดือนก่อน

      @@0lange I got you! Concurrency stuff is next on the list. I ranked some suggestions based on frequency and concurrency was top 3. I'll be recording that when I'm back from GopherCon.

  • @indifferentghozt
    @indifferentghozt 5 หลายเดือนก่อน

    Don't forget to hit that bell!

    • @sudomateo
      @sudomateo  5 หลายเดือนก่อน

      Like. Subscribe. Hit the bell. Grow the beard. All the good things!

  • @selvamp5775
    @selvamp5775 4 หลายเดือนก่อน

    👏👏👏

  • @aniellosgambato
    @aniellosgambato 4 หลายเดือนก่อน

    I like this content. Just one thing I know this is a jus a simple example but you are not testing the SendNotification function at all here. I see that you want show how you can take benefit of interfaces to create mocks that can help during unit tests, but this is a little bit misleading on how write a good unit test. By the way I appreciate your efforts and I am waiting for other content related to Golang. B.R.

    • @sudomateo
      @sudomateo  4 หลายเดือนก่อน

      Thank you! More content will be coming soon. I wasn't going to include any testing in this video at first but the I was like ah heck why not? I really wanted to show how one can implement interfaces to be used in tests rather than writing a perfect unit test. I probably should have asserted on the message to test the behavior specific to SendNotification. In the current form it's really just testing that the notifier(s) get called.