*Mom walks into room behind me* Bucky: Check it out. It uses that global tuna instead of the local tuna. Me: Cool. Mom: Dafuq
I prefer local tuna over global tuna. Much more fresh.
One might be tempted after watching this, to make most of their variables global. There are several reasons why this is a bad idea. They can make it more difficult to track down bugs in larger programs. Global variables will continue to take up memory until the program ends execution in most cases, where as variables used in functions (except main) will have the memory they use freed up as soon as you exit the function. You generally want to limit how many global variables you use. if you can avoid using them, don't. But I personally don't believe in over complicating things just to purposely avoid using them.
"Use the global tuna instead of the local tuna." Lol :D
After these 70+ tutorials, We have all come to one conclusion. Bucky loves to 69 tunas
0:50 "i.m tierd of X" makes a variable were the values 69
Best Tutorials IN THE WORLD :X
EXCELLENT! You boiled it down for a non-programmer, Arduino maker like me. Thanks much!
Short and sweet and to the point.
A double is a type of number that can contain decimals such as 12.40 or 15.20, doubles use up more memory to store the data as well.
waooooooooo thats is soooooo coool way of teaching i understand in 5 min which i can not understand in 1 hour in my class Thank you sir
Wow, nobody knew that. Thank you for saving all of the programming society, thumbs up to you sir.
Sort of. They are both floating point numbers which means they can be fractional but "float" is the type for a single-precision floating point number and "double" is a double-precision floating point number. So basically double can have twice as many significant figures if you want extra precision. The trade off is that a double is 8 bytes in size while a float is only 4 bytes, so use the one best suited for the situation.
B-Bucky made a 69 joke? What am I seeing?
thanks, bucky, it was very helpful! when you said Bucky or Tony or Jessica,I thought of Bucky Barnes, Tony Stark & Jessica Jones.
"Use that global tuna instead of that local tuna"
Oh yeah tuna is much more interesting than x :D
next time someone says they're not feeling well, tell them it's gotta be their Unary Scope Resolution Operator acting up again.
I love how he said 'tuna' as if that was the obvious alternative to 'x'...
@jpthinks