Added: 11 months ago
From: thenewboston
Views: 14,939
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (55)

Sign In or Sign Up now to post a comment!
  • You like Twilight. HA-HA

  • "Natalie" ©Thenewboston

  • Either I watched these tutorials before and don't remember at all or you use almost all the same examples as you did in PHP... I hope i didn't watch all of these before because don't remember watching javascript tutorials.

  • Comment removed

  • Is she related to Natalie Protman?

  • ".., or Rebecca..."

    Bucky was thinkin of Rebecca Black again lolz!

  • can i open my eyes yet?

  • NATALIE PORTMAN  (屮゚Д゚)屮

    Y U NO COMMENT

  • I liek mudkipz...

  • awesome

  • How long should I keep my eyes closed? Can I open them now? You didn't state for how long i NEED TO CLOSE THEM. i CAN'T SEE ANYTHING, HOW AM I SUPPOSED TO LIVE FOR THE REST OF MY LIFE???

  • @CrazyShooter199 Wow, you sure write blind pretty well. And you must have memorized the entire YouTube layout too, gosh, I'm amazed!:)

  • @marsimil Yes well I have voice recognition software and I have been using computers so extensively I just know where the buttons on my are.

  • 7:20 - go go ahead, go go go ahead, that's so cute bucky !

  • Comment removed

  • How do you let the user choose the name? If they don't know JavaScript

  • @MLPComputerTutorials You would use XHTML to receive input (or maybe PHP as well, idk) and then give the inputted text to the program. Bucky didn't do all that stuff to save time

  • it's like, you must lick garden state

  • Thank you!

  • I love Garden State! :D

  • var girl = "Bucky";

    function x(a, b){ case a: document.write(b);

    }

    switch(girl){ x("Bucky","Ya, thats a girl"); x("Robin","He is cool"); x("Sonja","Thats the name of my mother"); x("She-male","Thats not a girl"); x("Lesbian","They love girls"); x("XD","Thats not a name of a girl!"); x("this is madness","THIS IS MADDNEEES"); default: document.write("Bucky is a girl!");}

  • Oh bucky! Your tutorials never bores me. 

  • Nice end!

  • its funny how bucky knows programming syntax better then english grammar 

  • Bucky is the best teacher ever on youtube .........xD

  • @Matalic1 exactly

  • Haha Bucky, you made my day with that intro!

  • Thanks for the tutorials.

  • @7Voo yes...

  • @7Voo actually not...

  • sf

  • asnice

  • 0:22 Still thinking about Rebecca Black, huh?

    Bucky, you lady killer you. ;)

  • Natalie Portman gave you thumbs down.

  • @7Voo Actually, like C... All those languages were influenced by C...

  • 3:55 - Epic voice crack?

  • @AOERyan I think he got kicked in the throat before doing these last couple tutorials.

  • Who is this @kidel3 guy?

  • OK, to explain the "case" and "default" (+ break) a bit more. The "case" is like an if statement, if the case equals (variable) to a value, it will execute the code inside (document.write in this case), but the "default" is like an else statement (not "else if") where you can execute some code if there isn't any matches for the cases. And to the break. If the client found a case that matched the variable, it stops searching for a new one. Easy explained. Hope you all understood quite well.

  • What if we remove the "break;" statements?

  • @FHomeBrew the switch statement will continue and if it will find another true case it will execute whats in that case. example:

    var x = 50;

    switch(x){ case 50: do a stuff;  case 250: do b stuff; case 50: do c stuff; default: do d stuff;

    }

    this will do a and(!) c stuff

  • @JavaFolower In Java (long time since I last used that) the switch cases would just cascade until the next break. Regardless of if the case was true or not. At least, that's how I remember it. Never used switch cases that much since I can use math to work around that.

  • @FHomeBrew

    Everything below the statement that gets selected is executed, even if the condition isn't true, until it reaches a "break;" or the end.

  • @FHomeBrew Try it then. You'll like the results.

  • @FHomeBrew Then it would just run the code over and over.

  • @Bladestorm687 It would eventually run into the "default" statement (which is what it should do when none of the cases matches. That might even need a "break" though. However, since the switch-case construct is not a loop, it won't run forever would it?

  • Great job with these tutorials. Makes learning much entertaining and interesting.

  • sup

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more