DISCORD BOTS & DATABASES - INTRODUCTION (#11)

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

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

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

    Thank you :) Now I have a reason to open that SQL course I've had. Certainly, that other discord bot I want is a later project lol.

  • @fextjd7564
    @fextjd7564 ปีที่แล้ว

    Thank you for all your videos about D#, it is so much useful!

  • @montoyatm
    @montoyatm ปีที่แล้ว

    Very informative video, keep up the great work!

  • @markman3031
    @markman3031 ปีที่แล้ว

    Yes sir, great video... Keep up the good work!

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

    Goat ❤❤❤❤

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

    Genuine question, why is it considered wrong to follow the practice as shown in episodes 1 and 2? I understand that times have changed, there might be different ways of doing things, perhaps those people just dont like how it looks, but what in a technical standpoint causes the information in those videos to now be considered wrong? If it works and it works properly then is it even fair to call it wrong? To me it sounds like it's more of just nit-picking how the code itself looks rather than having to do with any sort of functionality at all

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

      What practices are you referring to? Is it the stuff to do when starting up the bot using GetAwaiter().GetResult() or something along those lines??

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

      @samjesus8 to be honest I don't think you really explain what it was that you meant just sort of told us at this point it's considered bad practice or wrong. I'd have to rewatch the video to be 100% sure, I'll take another look after work today

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

      @@LocallyHated21 no worries, and its definitely not to do with how the code "looks", its definitely more of the functionality. Any developer who overly cares about the "looks" of their code is a moron and not to be rude, suffers a bit too much from OCD. I don't care how messy the code looks, if it works it works and there is always room for simplifying lines and making it more readable. And if it is to do with the Bot GetAwaiter stuff, the reason that is not correct is because previously i had the code to start up the bot as a non async method even though some of the methods I'm executing in it are asynchronous. Whenever you have async code u need to keep 100% of the project async so that there is no weird bugs/errors happening down the line. Have a look at some articles on what asynchronous code actually means compared to non asynchronous and it should give you a better idea. Granted i should have explained better in Episode 1, why a Discord bot is asynchronous but again this is a tutorial and people watching it are expected to do research in and around the topic. Let me know anyway when you can what the specific bad practices were and ill address it