All language subtitles for 004 Pulling the Pieces Apart_en

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranรฎ)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu

Original subtitles

In the last section, we wrote out our first tiny little dart program, this is essentially a hello

world program and I know hello worlds are very boring and you don't really like to see them inside of

courses.

But in this case, we can actually learn a lot about the programming language by tearing apart this

snippet of code line by line.

And so that's exactly what we're going to do in this section.

We're going to start with this first line of code right here, and we're going to tear this thing apart

line by line or piece by piece and get a better idea of what's going on behind the scenes.

So let's get to it.

In this diagram right here, I took that line and put it into a series of different blue boxes, so

we're going to talk about every little chunk inside of here, starting off with the word vare on the

far left hand side, the word vare declares a new variable.

This is one way of many in which we can declare a new variable inside of Dart.

And we'll very shortly see some of the other ways in which we can declare a variable rate.

After that, we put down the variables name.

In this case, the name of the variable was simply name, just like many other programming languages.

We can then later on reference this variable by simply writing out the word name.

We then placed our equal sign and then on the right hand side that we had a reference to the function,

my name, the set of parentheses after my name invokes that function or it runs it returns a value and

then that value gets assigned to the variable name right here.

One thing I want to point out in particular is the semicolon at the end of this line.

So Dart requires us to make use of semicolons.

They're not optional as they are inside of JavaScript.

Now, the last thing I want to mention about this line of code right here is that there's actually two

separate things occurring on the left hand side of the equals sign.

We have VARE and then name.

These two words right here form a step that we refer to as variable declaration, variable declaration

is the process of actually creating this variable and telling darte, hey, here's a new variable and

here's its name.

Then with the equal sign and the call to the mining function, we have a second step referred to as

variable initialization, initialization is the process of assigning a value to a variable that has

been declared.

So, again, two separate steps here.

The first one is variable declaration and the second is initialization.

This might seem like a very small distinction to make, but later on, as we start to go deeper into

darte, the difference between declaration and initialization is going to start to get very important.

OK, so we just took apart one line of code, let's continue in the next section and we're going to

continue looking at this little snippet right here.

So quick break and I'll see you in just a moment.

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.