All language subtitles for 024 Exercise Eight (Solution)_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
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
ru Russian
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

All right, it's time to debug exercise number eight.

Let's do it.

So apparently we should be getting a right diagonal of OWS to imply that owns but instead if you run

the code.

We get a left diagonal of axis.

So all we have to do is say X wins and we're done.

I'm just kidding.

I was supposed to win and there's something wrong with the code now going out a few break points.

Launched the debugger and let's compare.

So when I'm here, it's going to place an O at zero and two, which is fine, that's consistent.

As well as an exact two and two, that's also consistent.

Next run I equals one.

It's going to place an O at one one, which is perfect.

But then an ex is also going to go to one one replacing the oh.

Hmm.

OK, what if I just put this first, what would that do?

Relaunched the debugger.

It starts at two and two, that's fine.

Always a zero and two, OK, good.

Now maxes out one and one, which gets promptly replaced by oh.

The next goes to zero and zero.

Oh, goes to zero and two.

And we get the expected output.

Well, that was easy in this case, I didn't have to think or analyze the person's logic by using breakpoints.

It was really easy to visualize what their bug was.

And then by simply moving two lines of code around, it made all the difference.

If you can't tell by now, I'm a very strong believer in using breakpoints to visualize the runtime

line by line.

OK, onto the next exercise.

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