Error Handling - Rust

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

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

  • @maherkhalil007
    @maherkhalil007 4 ปีที่แล้ว +1

    can you explain how to do simple add function which takes 2 numbers which may be integer or float or one integer and the other float and the return may be integer or float in rust?

    • @danlogs
      @danlogs  4 ปีที่แล้ว +1

      This is a bit harder than it looks. Let me know if you are happy with this: play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=0108675d25b3be5681350bf75273ad0f and if you have any questions ッ

  • @ryanmcconkey6204
    @ryanmcconkey6204 4 ปีที่แล้ว +1

    very nice ! :) i'm enjoying the series and the information :) I've been learning a little rust and some golang as well. I am having a rough time deciding which one I should focus on the most. Maybe I should just learn both , why not? :P

    • @danlogs
      @danlogs  4 ปีที่แล้ว

      Well, I'm biased but I'd... 𝙂𝙤 for Rust 🤣(bad pun, sorry)
      Maybe this article will interest you: blog.discordapp.com/why-discord-is-switching-from-go-to-rust-a190bbca2b1f

  • @Cal97g
    @Cal97g 4 ปีที่แล้ว

    Keep it up! Thanks for content

  • @chon-850
    @chon-850 4 ปีที่แล้ว

    excellent video! thank you

  • @naveendavisv
    @naveendavisv 4 ปีที่แล้ว

    Good one...