Ruby Programming - 31 - Yield

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

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

  • @shriharikulkarni07
    @shriharikulkarni07 Месяц назад

    Man this was the best explaination... Basically works as multiple return

  • @candicelizabeth21
    @candicelizabeth21 5 лет назад +5

    Was having a hard time grasping Yield till I watched this video! Thank you so much!!

  • @moses.muchemi
    @moses.muchemi 5 лет назад

    you are a lifesaver bro.. Ruby people have a hard time explaining stuff

  • @onureker6194
    @onureker6194 7 лет назад +1

    I have read a lot of lessons about yield; but this was the clearest one. Thank you.

  • @meganadams7274
    @meganadams7274 5 лет назад +1

    You explained this way better than how most professionals do. Legend

  • @xstanz
    @xstanz 5 лет назад

    thank you so much for this. my ruby hw was melting my brain but this video put my brain back together.

  • @RR-et6zp
    @RR-et6zp 2 года назад

    Solid vid, It finally clicked , thanks

  • @Kewendi
    @Kewendi 10 лет назад +1

    You explained yielding so clearly! Thank you for clearing this up for me : )

    • @Jake-Day
      @Jake-Day  10 лет назад +1

      Robin Hood: Do you yield?
      Little John: I can't bloody swim!
      Robin Hood: Do you yield?
      Little John: Yes!
      Robin Hood: Good. Now put your feet down.
      Source: goo.gl/CJJRy3

  • @KINGSABRI
    @KINGSABRI 9 лет назад

    V.good!
    Keep it up
    I hope you can show more cases of using yield or comparing not using yield and using it and how good the code would be
    good job man

  • @pablodm9
    @pablodm9 5 лет назад

    Basically is a local function that makes something and can have a default personalizable value

  • @allforone4
    @allforone4 6 лет назад

    Hey Jake, could you explain the use of this yields in the "real life programming".
    the only use i could think of is a sort of an error which you wouldnt like to repeating printing them

  • @stanislavezhevski2877
    @stanislavezhevski2877 8 лет назад

    could you tell me, how can i yield one method to other with parameters?

  • @johnathanpratt944
    @johnathanpratt944 8 лет назад

    You got "Flower" from Bambi. LOL! Great Videos :)

  • @javierguerrero9486
    @javierguerrero9486 7 лет назад

    For JS Devs, think of blocks "passed" to methods as callback functions.

  • @TaiChiTofu
    @TaiChiTofu 10 лет назад +2

    Hey Jake, I have been going through your rub videos and they have been great! I have a question about the IDE. Whenever I run the debug I get a prompt for "Debugging Options". I was wondering why when you run the debug it does not ask you every time and how I can go about preventing this box from popping up.
    Thank you and keep up the good work!!!

    • @Jake-Day
      @Jake-Day  10 лет назад +1

      Isn't there a checkbox at the bottom of the pop up that you can check that will make it so it doesn't pop up again?

    • @mantaslukosevicius1003
      @mantaslukosevicius1003 9 лет назад +3

      To turn it off go to Edit -> Preferences. In the Preferences dialog box click Debbuger. Then select the checkbox "Skip debugging options dialog".

    • @DarrylMendonez
      @DarrylMendonez 9 лет назад +2

      Mantas Lukoševičius Sweet! I was dealing with that pop-up throughout this entire series so far!

    • @Jake-Day
      @Jake-Day  9 лет назад +2

      Darryl Mendonez I need to redo Day 1.1 it seems. Sorry Darryl, will cover this in it.

  • @adrianacastaneda7991
    @adrianacastaneda7991 10 лет назад

    You saved my ass today with this video! Quick question, will the book that you're writing follow your tutorials?

    • @Jake-Day
      @Jake-Day  10 лет назад

      The book won't follow the tutorials. It will be all new content. It will teach the same material though.

  • @zekunzhang745
    @zekunzhang745 6 лет назад +1

    I think he should've mention what, how and why. I did not see it coming.

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

    thank you!

  • @NaelsonDouglas
    @NaelsonDouglas 8 лет назад

    YOu explained that clearly, thanks for that. But I still think this yield syntax is terrible. It would be better to use methods as parameters and call them inside the caller method.

  • @vitaminebe2743
    @vitaminebe2743 2 года назад

    Sorry , you are a good teacher! BUT I still don't understand why we have to use yield instead of others more efficient and smart?

  • @DerpyFelicia
    @DerpyFelicia 9 лет назад

    lol i put (|num| num * 3 ) instead of {|num| num * 3 } i derped

    • @Jake-Day
      @Jake-Day  9 лет назад

      card_master1 gaming Lol. :) I'm looking at your code for the sketchup plugin right now. I'll reply with an answer soon.

    • @DerpyFelicia
      @DerpyFelicia 9 лет назад

      ok thanks jake, me and my friend can't figure it out lol

  • @khoshalkhan703
    @khoshalkhan703 8 лет назад

    i am watching this weird guys ruby tutorial. it circles around hashes, variables, inputs and so on. but not objects, classes and variable types. in ruby everything is objects. this guy tells us everything even his son name and blah blah, but not classes and objects. oh yeah classes and objects on the last episodes, it should have kicked in from the beginning episodes

  • @zekunzhang745
    @zekunzhang745 6 лет назад +1

    more into his tutorials, more confused I get

  • @jayrosenberg7552
    @jayrosenberg7552 8 лет назад

    vg