Tip:
Highlight text to annotate it
X
today and Cody one you're going to learn all about very
while we're going to convict in Jersey City binary
long neck and she loved
some people you trust
this he's tweaked bandwidth for calling 101 is provided by
cash line at *** G FL why
dot com this episode is brought to you by Linda ducked up
learn what you want when you want with access to over 2,000
high quality online courses and training videos all for one low monthly price
the try it free for 7 days visit Linda dot com
slash the 101 thats Lynd a
dot com slash see 101 way
welcome to coding 101 it's the twitching that gives you the knowledge that
the wonderful world the program run by the Robert Alistair
I am Shannon Morse and for the next 30 minutes we're going to get you learn up
on
everything having to do with the code monkeys that's right channel now we know
that the key to becoming an expert
is repetition now so is there anything that you think are code monkeys need to
know
to move up a level quite a bit actually so we didn't get a whole buncha feedback
from last week's show about
well basically how do we get Tao hope everyone enjoyed the stuff but I I
really need to know how to download the program and everything else that has to
do with getting started
in c-sharp so today I wanted to go ahead and start the show by giving you a
little bit a background about how to actually
get started downloading and then copying pasting the code from get help
I love it about this last month let's get to it okay so I went ahead and
pulled up everything on my computer if you look over here
so I'm first %uh from going to show you
the website so this is where you can download Visual Studio Express for the
Windows desktop that's the specific one that we're going to use
it's totally free there's no like 60 days there anyway
had so you just don't want it right here you can sign in
if you do sign in on here with your windows password and username
then it'll actually seeing everything customized that you have customized in
the program from one
computer to another sale every time you open up Visual Studio on any computer it
all be the same
now total amount that a Visual Studio Express is free for everyone but
if your student so if you could show us tonight did you can actually get the
professional addition
for free that's told right so yeah if you if you're in high school here
University
go ahead and and choose the Visual Studio Professional for students
we'll ask you a question near Jasper I think if they want to scan a biker ID
but then you pure good he
I wonder if I still have my head from my pain are thinking about going to it had
to look about the same
I kinda student life Amsterdam exactly
so once you have this download it it's very easy process to get everything
downloaded use do this go through the online stops
and then this is what the program looks like when you first open it
so I just open this from my start menu I it's
rate over here so I clicked on that and
that's what it looks like now we are talking about copying the code
from our first episode episode1
from get help so to do that now I'm sorry about that folks I know that there
are a lot of
there was much frustration very angry Wow from people who are saying we're
going to do
a copy and paste the code yeah that was my fault I didn't realize that our
Drupal back and on the Twitter website
wasn't gonna play nasa best place to an actual code
right so so because it somewhere very brilliant people that we've got in the
chatroom
in now in my Twitter account in in Google+ yes we moved everything over to
get her
that's where we're gonna be putting every project from here on in you'll be
able to find
each and every single episode the Homer the code the whole deal
and the nice thing is it Bryant if you could click that a Brian
good could I did in the clicking
the cooking stuff its it we will show you all the code
in the right now I format neck and all at doesn't wanna play with you right now
alright so so now that they've got a place where they can get the code
like really really say really hairy girl
house what are you gonna do with Shannon yes I have a or having issues
yes so we want to make sure that we're opening the correct type of project so
we're gonna go up here to new project
and this is C start switch using Visual C sharp
and this is a console application so console application see how it looks
kind of like
at terminal or command prompt that's basically what what it looks like
whenever you're using our binary project from last week
whenever it actually runs so obviously we're gonna choose consul applications
each is that you click
okay and then it'll open for you has a little bit of information up here and
here is where the actual code starts
so I'm going to take the code from get had and I'm gonna start with class
program
in a copy in peace all this information
and then bring it back over here
I'm gonna just cut that out and replaced
the new code rate into my line
so now I have these pretty much the same exact information that we got from the
cold last week
now for his start it should run just fine
okay really know now I can run the code from last week
and I get my decibel numbers 19 had entered exit
yeah it worked yeah yeah another nice thing about this remember sits knobs and
I are both
tinkerers where we like i hack around and that's why you're giving you
there were a lot of people I think we're saying who could not just giving us like
a hole on your program ok
the reason why we're not doing that is because we only get half an hour with
you every week
and we gotta move in a bit quicker so what we're doing is we teaching you the
basic elements but we're also giving you a lot more so that
if you feel so inclined you can poke around remember since their code is
always on get help
Terry up heartbreak it change lines tried to put different functions in
there
because there's nothing you can do that cannot be undone by simply copying
and pasting now say I want to write my own console command yesterday I'm just
gonna write it on top of what we had last week with the
into your own binary number in the new converts it for you so this week I just
wanted to put in a simple hello world and then just gonna mess around with a
little bit you know kinda break in a bit yeah because people do want to see hello
world right
right yeah sup this is what I did if we go back to my computer
I've highlighted all the code that has to do with writing input
and then reading output so I just erased all that and then I'm going to put in my
own thing
so I'm gonna X delete that comment
because nobody needs that comment there we don't like it may go one night you
comment
okay so the first line I'm gonna write is console
hoops console and if you press ENTER it's just gonna
automatically still in whatever you have higher-up and Trent yeah
console right and then type in whatever I wanted to say
hello who world okay
and then at the end of course you have to add a semi-colon because that's what
you do with every single I and II
let me let me point out one thing and the reason why we wanted to start with
Visual C sharp and I know there's a lot of people like well why did you stop it
these are like we're just here
because this I D E is free I we wanted you to get used to using high and tools
nice thing about this environment is it will actually tell you the different
options like the autocross
it's awesome it will say okay he started running consul here are the different
things that you could combine consul
and it will tell you when you make a mistake going so it's great let me let
me show you a
example for error if you wanted to make make an air so
say I forgot to put a semi-colon at the end and I hit start
its gonna tell me there's a build air so I'm gonna say no I don't wanna go ahead
and run it from the last successful build
it gives me a little red squiggly line call it expects
how there's no says Michael and as expected so if I put that some I call in
and then I run it
so now it says hello world entered exit because I left in the hit enter to exit
down here
now if I want to put in a second line this one's going to be a little bit
different so this one's going to be consul
not press Enter again right and I'm gonna add line on here because that's
going to tell it
after you're done writing hello world it's going to put in an automatic
entered to the next line below it so this time I'm going to write
space what's up world I
it's sort of an update to the hello and then for the semi-colon so if I run this
it says hello world space what's up world
and right-hand turn ride and then it says hand
actors exit which in that so they're alright and the right line coming right
right
just lets right in and basically the cursor stays right there
yeah right line says write this and then go and drop down
socal I got so excited my as an able to make this work I know it's super simple
but I was like just laid it all by myself I'm so excited at all what we
want we want you
to have that feeling we want you to have that tingling feeling like I wonder if
this will
it only works sexy iPhone sister is hot on I'm just like
guest market %uh I'd
okay so the next part gets a little bit more complicated but its toll on this
line a regular speech
so this one i'm going to make a string that's called my variable string
and you can call it whatever you want so if we look at my computer when I did
this
I'm gonna start was stirring and string is tell this is where we're going to get
into the race gas pedal segment for this episode
so streaming and then the next line is going to call I'm gonna call it I am
boondocks because I can
idk because nobody's because you can't stop me
equals and then I'm gonna put consul again
read wine Sarmina just press and to rate their
redline and then empty print the season a semitrailer
and does this mean yeah so what this is doing is it's initializing a variable
called
boondocks which is a stringer else was gonna hold a string of characters that
then it's gonna do the console relying command the Consul Rica like a man waits
for the user to enter something and hit enter and then when they do that
it's gonna take whatever they entered in that line and put it into the variable
called boondocks
K so now on my next line I'm gonna typing consul
period right line
and then put in boondocks you go
and what it should do now is it should just out but the screen whatever that
you whatever it was that you put in a previous life
okay so says hello world space what's up world cuz I just left that in your
as we can. if I just type in yo Dawg
got sound boondocks Boone dodge
so it's going to repeat what I said because that is my string variable
called boondocks
so it repeats boondocks and then its paces down and says hit entered exit
because I just like that in there
so I hit enter and exits for me now local
its ok you know folks I know that it's a little bit daunting there's people who
are freaking out because
all that extra Co that we sell just don't worry about it no seriously we
mean
don't worry about me did leave it alone will get there will eventually we're
gonna show you what that does but for now
just assume it has to be there and tinker around with the parts that we
want to tinker with
last week we asked to play with with the console command we had the
the review right yet do that Undo button it doesn't do read exactly
and then we're gonna move on to more advanced topics we think should we
we think we should so I mentioned string variables in here
so why don't we get into variables let's do that that's actually that's actually
a really really good point
now snubs new member has a giraffe print
unfortunate I ok a few months I skip school
remember like Jackson WY in a yes recalled variables regular what they did
yeah well they just don't for a number right it's like a placeholder
Rep it's a way to say a value is gonna go into this placeholder been XY ABC
whatever was going to be
we know that that's how you did mathematical proofs
you had something that could represent any value that I put into it
same way goes for variables in computers when
I play with variable in a programming language when I'm telling my compiler is
hey
here's a space a piece of memory that I want you to preserve
I'm gonna fill it with the value I might do it now I might do it later
but please hold on to that oh okay okay cool now when we took
variables there are many different types variables I can have again a terrible
which which on under most here is just a number
call number: ranked 12 5,000 those are all I could have a decimal number which
would be like want to be like 3.14
great fivers the exact soap I very but whatever's going to be
I can also have a string of characters which and that would be like my
boondocks exactly which means it's just gonna store a piece a memory that has
although the characters could be letters numbers often numeric
I hope that you've put out there are several different types I mean you could
have floats you can add managers you could have long integers
but the thing to remember about all variables is that as
as big or small as the name might be they never get more complicated
then your high school math class out good I they really do
okay did really bad in college I all
know we can fix that okay can fix that one thing I will say about variables and
we'll get into this more
later on his when we when we initialize a variable
what we are doing is word we're taking out a chunk a system memory in saying
that's what this despair was gonna take up its it deep
differs based on what kinda variable it might be for example
us this why we kinda talked about binary is last
my pickup a binary exactly because remember my all memory
is binary rate the memory in your computer can only be on or off
each an individual cell so that tells you how many possible combinations you
can have for any given
variable talk for example an integer is a 32-bit
variable 32-bit as hell to to the power 32
yeah which gives you something like four billion 300
from the and a lot if you do if you a lot of possible combinations
but that third those 32 bits a memory have been reserved
for that integer value okay right that one about exactly a and actually
did aside this is one of the reasons why you always want to sterilize your
command input because if you don't do a really good job really most sterile
makes sure that might like when you do the the the read command the council
read
if you don't check the input to make sure that it was what was expected so
incredibly
you put enter a number between 1&5
and someone writes in execute execute execute execute
if you don't make sure that your code makes a check to see if
they're giving you the expected value yeah they could do really bad things
they could actually
overwrite some others very well so I asked about act like that offer over
I thats budget so that that severe we're gonna we're gonna show people how to
initialize variables were gonna show them how they work more
but I days long as they know that that's what a variable does and that they know
that what you did your call was to initialize a variable
we're fine I think gotta we should probably talk a bit about loops
loops what are those yeah K we're specifically talking about
a while look now when we talk about loops
what we're talking about is a a command something that allows you
to repeat a piece of code over and over now let me let me for example me right
that's what if I would've put
our Console
right
I'll that in our actually I hello world
so then it'll just output hello bro right
exactly right so if I print this is gonna write hello world correct
now what if I wanted to write hello world ten times what was the first thing
I could do
a well you can just copy write copy and paste had great over and over I could
just do this to us that's right I could just take hello console right hello
world consul there'll be a pain in the butt like if you're an actual code are
you doing this for your day job nobody wants to do that yeah
NRN imagine if the function was more complicated than just saying hello world
let's say the comp the the function
comp computed up the interest of a bank account
I don't have to hardcoded every single time the program does that
I wanna have a way to reuse the code that I've used
okay so this is why we have loops this is why we have lived
so Lau let's let's say I have some like this
I N capsulatus her and let's pretend I have a function
that allows me to repeat this as many times as I want
do it that cut the lead at yes let's do this
I'm gonna show you what's called a wild a while loop
allows me to continue doing a piece of code to reiterate
over and over as long as a boolean condition is met
now let me explain what that means I like but not it at
that could be absolutely let's say I have a while loop
an emperor and the Seas is my borden operator
in other words it's gonna say as long as this thing is true
continue to do whatever I find in there are
okay so that's my coat now let's skip the Boleyn operated for now let's put
our whole hello world in here so we can put console right
and is gonna the previous console right hello world
I like your writing and a half very pretty I don't and on my type
seats but can I think a wreck so what I just told us to do is as long as this is
true
continue to do this peace accord console right hello world consul right hello
world consul right hello world
problems I have to tell what kinda condition needs to be met yeah in this
case
I'm gonna say axe and I know people get take often use axe from the music's
that white I'm just as long as axe
is greater than
0 all see you can use what
icon carrots are big alligators said
you can use those just Boolean operators so i'm saying as long as the value a Bax
is greater than 0
run this code now a while loop is what we call
a pretest loop in other words it's gonna look at condition before the loop
ever runs to make sure that it's true or false it makes sense
so exit door will tell all with the guarantee to run
at least once before checks because it's a pretest loop it means that it's
possible
if the condition starts off as false that this will never ever run so for
example
let's say I had integer axe
equals 0 pick you see it
0 I and end user exit 10
ok thank God say I have integer acts is equal
20 okay so if i start out my value is 0
when it gets to the while loop axes 0 so is your greater than 0
it's not against this will never ever run okay
rain okay so she put in a different number like nine
let's but not okay good idea so X equals nine
now it's gonna get to the while loop is 9 greater than 0
yes yes it is so it's gonna I was gonna write hello world it's gonna go down to
the bottom it's gonna go back up to the test
and what is the value back now is a stone nights till nine so it's gonna
write its gonna go to the bottom it's got on knowing
its gonna keep on going to see this this is that a perpetual loop weird is not
that there is no way
in the mall at this present time for this ever to not be true
actual always be greater than 0 your so what I'm gonna do
is below your I'm gonna say X is equal
to axe minus 1 so the first time it runs
home accessible the nine its gonna print hello world
and then axes gonna be equal to x -1 so within nine months when it was 8
so now this is a rights it's going to say is 8
greater than 0 and a storm drain it right and it's got some trapped in other
one
and we'll all go all the way down to when it's one
is one greater than 0 yes one minus 10 and then the next time up
is zero greater than 0 no it stopped since Feb done so I'm gonna run this
loop
nine times of cool I this now this is a very useful function because
anytime I need to reuse a piece of code I'm gonna be using a loop a while it was
actually really good way to do it
okay 10 okay now didn't like it yeah I like her
so I'm thinking now maybe now before we get over the cold warrior
you do what you want to say thanks to our sponsors I think we should it be
should consider splitting
sponsors Linda and what I like about linda is that they're all
about knowledge yes that's want is they want you to find and easy way to learn
the things that you
want to learn we're about knowledge know how minutes into it sooner
in a name and actually for inputting 101 right now but Glencoe 2011 we
we're all about teaching you the knowledge that you want to learn and
that's why we're happy to have Linda
as our partner now Linda is an online learning company that can help anyone
learn creative
software and business skills to achieve both personal and professional goals
with a little *** description members receive unlimited access to a vast
library of current
an engaging video tutorials across a wide variety of subjects
everything from creative and software skills to business negotiation
and programming a limit to come to learn how to code create and build
applications from the Foundation's a
object-oriented programming in C++ and C plus plus the desktop and mobile outs
for today's popular operating systems
York's for the fundamentals a programming building web applications
with dot net PHP in my sequel
managing data with single database is connecting the cloud services
and much much more that's what I know that you been
brushing up on your code I've been doing the same thing have and know you could
you could technically jump around the web in find a buncha web sites on how to
do this and how to do that
yeah then you're going to end up in the middle some kinda crazy lesson by
somebody who doesn't even know what exactly and that's why we like linda
what I've been doing this I've been jumping into the programming section
and just brushing up on the knowledge that I never gotten after years of
misuse
what I like about linda is that they give you the option to jump to the
chapter
you need its it's one of the things that Linda subscribers get with every
subscription
they have chances to improve your skills learn new software and keep up with
technology
they have over 2,000 courses with more added daily
their popular course topics include foundations of programming HTML PHP
with my sequel Objective C Java JavaScript and Word Press
instructors are working professionals at the top of their field an expert eaters
like you said this isn't just the guy with the YouTube channel says okay I'm
gonna teach you know these are people who have actually done this for a living
you're listening to Justin Ruggiano you
I'll phone hasn't to watch when so much visited you
like now that's not great right you want someone who both knows how to out how to
do the skill
and someone who can actually speak in front of a camera they have high quality
video production from state-of-the-art studios these aren't the homemade videos
that you'll find on youtube
and they have curated course content this lowe's is talking about
each lynda.com courses carefully structured so that the users
could learn from start to finish or they can jump to a specific chapter
so if you're learning C pas plus and you start looking at the lessons and you
realize I was a bit too but to basic for me
you go ahead and jump forward and find the place where you should be
they have easy to follow videos that could help you find the answers you need
and
my favorite part searchable transcripts to let you search with
in the video to save you time and find exactly what you're looking for
courses are for all experience levels from beginner intermediate and advanced
covering a wide range of technical skills
creative techniques business strategies and more
you could want from your computer tablet or mobile device and you can switch and
pick up on the chapter where you left off
in other words Shannon learn at your pace when you want
what you want on your schedule I love it so here's here's what we want to do
are you near a working togetherness we want them the trial than the dot-com
it's only twenty five dollars a month for
access to Linda's entire course library or for $37.50 a month
you can subscribe to the premium plan which includes exercise files
the let you follow along with instructors projects using the exact
same
assets and you can try lynda.com right now with the free 7-day trial
to access the entire library that's over 2,000 course is free for 7 days
that's Lynd a dot com slash see
one 0 1 and we thank Linda for the support
polling one 0 1
a.m. you know we got this guy loophole lol
yeah he's a cold warrior maybe don't have that on the show is the best thing
ever
I have Ryan you wanna bring in the overt Starbucks oh my gosh not murasca
as they don't pretty good night are
I'd say that there are calling 101 folk had a lot of fun with your %uh your cold
last week on converting
binary into decimal we now want to convert
integers into binary now before we get that
%uh would you mind if I F I teach people really quickly how that might actually
work before you give them the code
Chur from okay so I and i got this from your co this this is this is how lou
doesn't that this is the way that we
we encourage people to do it now when we were doing binary to
integer was it was pretty simple right do remember that we were just
look at the value of its one we added up its yearly pass on by
yes it's a bit more complicated when we're converting on
integer into binary because when we have something like say
41 how does 41 become
a binary number I A
a exactly have for his word the issues he is a sweet thank you
I'm converting from a base 10 system that's what at No
integers decibels in base 10 system to base to assist appears how you gonna do
Shannon
what he want is you take your original caution
and divided by two so how many times has to go to 41
a to are now 20 point yet what looked up get the point after twenty
just went after it goes in 20 times is there a need to master
okay and i know im sorry is the remainder yes
it what's and so the remainder would be one now do the same thing
22 into to a two under 20 goes how many times 10
and whizzer remainder yes what now
attack now 2010 2 in the 10 again I get what
know it's like a hundred house Friday 5
is there a remainder no now too and the five how many times
there would be to two times as the remainder yes yes
to goes into one how many times 2001
0 was this one while when this one right
has one time is a remainder no 2012 right
and then at the at the end we we leave it of as this
now this if I read this from bottom to top right to left this action just be my
binary
good is one near your old one 001
that has been a value a forty once they start at the bottom
start the bottom benso bottom the top right to left pad her
that is the weekend in their heads it's actually very simple I mean it seems
difficult but that's how you convert and integer into a binary number
now remember last week you helped me to break this down into machine language
yeah cuz everything in programming is about taking a real-world problem in
turning into something a machine can actually understand
if your gonna break this down what do you say the process would be so we start
with
a quotient 41 we need we need to tell the computer to do what
get back to 41 what what we know is so if we start with 41 we at the talks to
buy by two right
oh yeah we divide by two and then we say check right
is the remainders so if to goes into 4120 times I multiply this by two to get
forty
I say is forty one and forty the same thing know what to do things
why I always have my and I just keep doing that I keep doing that I guess I
keep dividing my to a check to see the remainder
divide by two is the remainder divide by two is the remainder all the way down to
the very last one
when one becomes the quotient I just know that over
to the end and that gives me my binary number
at school of the political process right answer legal I didn't know that at all
solu- you hard coded this to a program
trade sorry US dollars orange will show you how basically take a number from
user like
bit which team see me for the last program and then we're gonna
do a little loop and like you said exactly what you do is convert and
from permanent return to binary I did one shorter coat Chur
so this is Thursday quicker crater really fast Council application here
and then we have this guy here remains even see
and select the first thing I do is I like he said ask the user
to enter an their number so we and ask them a please enter as some kind of a
number or number
and then just like snubbed am an *** and to enter exactly grab that number summer
and I'm in a store in this fancy schmancy
string variable that we have is a undertaxed
that they enter and since we're working with taxed
there we have to do some kinda *** conversion from taxed
into a number in times gonna put this code in your you don't worry about that
we can talk about that later
basically that's just gonna Comber the text into into
a number and then at a given a Ricky enter in something else
now let me stop you for the quick because some people are gonna get thrown
off by that
other II and integer is a number right so 1,2,3,4,5,6,7 a nice red offload is a
decimal point like 3.14
the real the thing that just dealing with integers we're just dealing with
numbers right but when we deal with strange strings can be characters to
AB using a dust masks they could they could because it's just a string of
characters
any characters so what lewis saying is you need something in there
to convert that string of characters into numbers and
lou am i assuming the sanitizing your input that's right then tell me about
making sure they can enter something I can be crass the program
right so if you ask them for a number and they played type in the quick brown
fox jumped over the lazy Padre
he will say hey honored at a number okay what you tryna do get out here
patronizing to is a at the Enter too long a number
as it could be too long can not fit in that size in the variable
it will also jack that as well got it code like this: by:
if I interlinked birthday love 2015
and yell at me and be like no you must have been born before that because it's
not 2015 yet
if I fill that out inform online sex with an exact address that's all it
means the senators just making sure that people can enter in a value that they
should be able to enter
but got okay moving right cool my children so
so now what we want to do is we want to give them the ability were actually
gonna do a conversion as a real show the American bird
and so what we're gonna do is work rate is all function
we talk about function later but basically has the Big Bird
bihar the code near actually converted and so what we're in pay attention to is
we began input over numbers as the number we are converted to
and then this is that while loop that but neither is talking about so in this
case
we set a variable for how many times you wanna lose in this case it's
potentially 32 times because we have a 32-bit number
right and and are saying to me that number could be four billion $324
million
something different possibilities that's right exactly so
basically we're in a where Luke while
the bets are is a greater than zero so right now we're starting with 32
and so a greater than 0 he and then the first thing we do is on a document that
so that our downed
do 30 31 s and
and just like you did on the board I'm gonna take I'm gonna do by the number
with this is fancy schmancy little
character here is is called operator and just like
if I would've been a division symbol here I'm using what they call a mod
are modular oh and what that means is just is gonna give me the remainder
rather than giving me what I devised a
my dividend it's just gonna give me the remainder in this case use your or your
one
well that's cool yep yes oh it's just so you know in our example so
so if you were to run that on the number 41
it would give your remainder a1 right
so and then when I do damn this girl uses them do a chap another special
chapin to worry about that but just saying hey is that it's a wonder and
disgust or one
for later so that I can help it to the user and then down below finally
I'm gonna do what you just said a minute divide the number by two again this can
store
what's dogwood the address the numbers on your day she did forty whiny divided
by two
anyhow what was left over and then again the loop ends and it goes back up to the
top and it keeps doing it over and over again
and so basically once this hits 0
or its greater than 0 admitted 08 sacher gonna stop
and then we had the end the program in it will return new number
so can you see this actually running yessir
so I mean just sat in one extra line here and that's just gonna call
this programs or not the top and very human added in here too
say a call make sure to call I
mile functionary created and someone it run and
so says hey from
enter number that though it is Casey 241 sadhus 41 as well
apps as I can do that that way forty-one
apps okay there's Marion entering a mile
I you jet owned by your own problem a lot
was in on there you go okay so 41 and there you go so it's a converted your
number two
to binary said in an earlier era 1001
that's awesome so everything is running in the background you're not going to
see a bunch of output with this code
it's just going to give you the answer the binary number that's right
actually act snubs I think BB with me here on this one
I think you just came up with the challenge that we could give to the chat
room and that is in
go ahead and print every line up the process find a way to put something into
that while loop they will show you what's actually happening inside
only does the calculator I'm not gonna say anything in let them figure it out
they actually I gave them everything they need in justices have to
we told every little crossover pets Kong
thank you lou thank you the prom now looks good let me ask you about this
when when we deal with cold like this
I find that a lot of programmers have their favorite loop and they'll actually
bend over backward to make sure they keep using
their favorite favorite low that your favorite Lucas I use my favorite to all
that
is is a while what's your favorite loop
the defending by people some like while loops like you did you show them and
there's also for loops
on and that's very similar to while loop but you can you you can initialize an
update a variable every time you do the loop
on I I'm and the band particular for loops on but there's also do Wiles which
are similar to weld and there's for teachers in c-sharp annette
iterates everything so I but I'm a particular for for loops
got it got it I think next time when we have a little 1i think we need let him
do a deep dive on now all the other kinds of loans
yeah we should now because it is actually if blue again
let me get your input on this I find that because people favor
that all programs tend to favor a piece a code that they have their favorite
piece a code just like they have their favorite language
often del right less efficient code
in order to use their favorite operator yeah true
its merger now there so what about this what if we have you back next week
to give us the rundown on the different types of loot
so that we could see know that would like the wild herbs a pretest but
they're also post absolute
and we can also look at if any statements because it's a it's a good
way to look at how you convert
that in real-world process yeah
problem into code can we do that little definitely
at st. examine this time lou if you can tell the folks at home
where can they find you we know that you lou and them on Twitter we know that you
work for Microsoft we know that your regular contributor
contributor that this weekend a price tag but if are
code monkeys wanna go out and talk to you about something they're finding in
their code
where they find it are you could you wanna find you want on speaker dock been
Twitter for shirts I me a message on their
or actually can semi I'm gonna on to me not there
my Lou Nanne out like that come well that's brave
we actually one and that worked I'm gonna do it in doing it
a boy okay so job code monkeys I'm not saying that we're gonna be trolls or
anything but if we were trolls
we would all sin lou up for every single internet offer we possibly could
red tape don't do that we went in at No we love the
lou thank you very much for being our cold warrior we're gonna have your next
week we're gonna show off your code and a
by the way all of his code is gonna be available in our gipp get home
repositories
only right after the show blue you are a monster
pace as preciate it thank you as those what about you think
maybe we've given them too much like brains might start exporting yeah I
think
I think this is a good place and to the post and yeah so next week we're gonna
be talking all about those other types
loops now that you've got your feet 30 we also gonna be talking about if then
tell statements
we would really really like how to how do we how do we promote this how do they
tinker with it is supposed to do
all sorts of places you can subscribe to our show where available
alright with our TV slash coat that's where you can watch all along
version above the upper sense well just like blind when they just watched
anything all the subscription notes for audio and video as well
pride that we're gonna have the links to the compiler gonna have links to our get
help repository
also don't forget to subscribe to us on iTunes if you are in iTunes user we're
actually it's right
like number three in video podcast re: yet
Kandahar a low price while fickle finger so please fast and jump over there
if you are in iTunes user if you're and I if you have an iTunes device
yes jump in their subscribe to the show will make sure you get all the goodness
each and every single week or on YouTube right now we are on YouTube with don t
miss flash coding
101 wrapped with coding when an artist I'm thinking that maybe once in a while
we do hangout
invite the and doing that list exactly so but you can't do that unless your
partner for you to group so go ahead
and jump in there also you know we we learn from our our
know how brother and that the best way to foster community is to give them a
place to hang out so we created
I G Plus community where is that China yes a so I just created it is Jay plus
dot T O slashed wit
coding 101 Anna there's not even an image up yet
brand new but you can find in a jeep a study arose last week coming
11 we have the coded yes it now the attorney
if you're not into the Jeep lushgroove you can also find us on Twitter actually
that's
from the best way to get ahold I'm at poder yesterday
I'm at slums now and as long as you're watching
you know what why not watch us live yeah absolutely we go every Thursday
usually at about one thirty 30 130 actually was about 1:45 a.m.
p.m. eat up Pacific Standard Time and as long as you're there why not jumped into
the chatroom
IRC hunt with a TV we actually do your comments and believe it or not I am
or tweet me a wheel or paraded into the show as we rights
and the fun I want to say goodbye and father Robert balancer
shield