JavaScript Question: Should I Use try catch or an if Conditional?

Поделиться
HTML-код
  • Опубликовано: 18 ноя 2024

Комментарии • 11

  • @soontaek
    @soontaek 4 года назад

    I'm a beginner in Kotlin, I was wondering why use one over the other. I think you're the only one who explains this on RUclips. Thanks a lot!

  • @karlstenator
    @karlstenator 2 года назад +1

    Try Catch is so tempting to use but it all the wrong places. 😂Thanks for the advice, much appreciated! Merry Xmas! 🎅

  • @leecastelani5613
    @leecastelani5613 3 года назад

    Nicely explained. I was wondering when to use it and when not to and you gave some great points. Thanks!

  • @chirag_soni_07
    @chirag_soni_07 4 года назад

    woah woah woah, that function checking using if else statement was way tooo cool!
    needed to watch that video long ago.

  • @davidwilsonbarmyarmy
    @davidwilsonbarmyarmy 4 года назад

    very helpful! thank you

  • @prakhargupta2960
    @prakhargupta2960 3 года назад

    Nice

  • @Accou25
    @Accou25 4 года назад

    thx, it's clear now

  • @dibbyo456
    @dibbyo456 3 года назад +1

    this is also same for all the other languages...