Weapon I didjourneyEpisode 7.5 I couldn't makeitEpisodeeightBut, youknow, thisistechnicallythesecondhalfofwhat I wasgonnaputintotheinitialoneisjusttoolonglike a setbefore.
Solet's goaheadandgetinto.
I thinkwe'restartingoffonsection 22.
Itcouldbewrong, butinthisvideowegoover a anexerciseaswellasthefinalquizthatendsoffsectiontoo.
That I didnotdotoowellonEnjoy.
Lecture 22 is a raiseandnotnotlike a raise, but a r r a y s raise a goodexampleofthisissalary.
Soyoudon't wanttoDoyouknowyoudon't wanttocreate a bunchofvariablesthatyouknowemployeesalary?
And I understandthere's a lotofcontextmissingisgoingtobe a littlehardtakingthisoutofcontext, but I can't justteachyouthewholeentirecourse.
It's kindofplagiarism, but I cantalkaboutit, thengiveyoumyinterpretationofcertainthings.
Sothefoursalaryinsalariesliveshowonscreen, basicallyforeachsalaryandsalariesitgrabseachitemoutofthearrayoneat a time, putsitinsalaryandruns a loop.
Nowthiswashisexample, I believeheforgot.
I believeheforgottoaddinthesalaryplussalarytimes 0.10 Sobasicallywhatweweretryingtodowiththisloopistoadd 10% raisedtoeallemployeesandjustimagineifyouweretonotuseanarray, thenyouhavetogotoeachandeverysingleemployeeandthengivethem a raiseonebyoneafteryoudeclaredeachemployeeonebyone.
But I sayweputallofthemtoarray, andnowwecando a loopintothatarray, whichonlytakeuptolieinsteadofwhoknowshowmany.
Sothemanglewiththiswastogiveeveryone a 10% raise, andheforgottoputitinhere.
Nowlet's gointo a lecture.
Fourdictionaries.
Nowthisonewasdefinitelymoredifficult.
I wasn't reallytoofamiliarwithit, butinallhonesty, I know I saidthisbefore, butthewayheexplainedit, youknow, stuckinmyhead a littlebitbetter.
I feellike a lotofotherteachers.
Whentheytriedtoteachyousomething, thekindofforgothowitwastobe a beginnertryingtolearnsomething.
Butthewaythatheteachesit, hecommunicatestobeginners a lotbetterthansayingmycollegeprofessor, nooffensetomycollegeprofessor, causethey'regreatButMarkisabletocommunicateon a differentlevel, maybemore.
Maybemoreso, like a don't downlevellesscomputerscience, morecode.
Fortherecord, I haven't doneanyoftheseexercisesuntil, likethemakingofthisvideo.
So I makethesevideos, youknow, towardstheend.
Youknow, obviously I'vealreadydoneallthecourseandthen I gobackanddotheexercises.
Youknow, you'resupposedtodohimalongtheway, Butforthesecondvideo, doitaftereverythingandespecially, youknow, maybe I maydoitpriortothevideoandmaybedoitalongthewayinthefuture.
Inallhonesty, I understandmostofthisstuff, oratleastmostofstuffpriortoe.
Maybethislastexercisethatwemaybegoingoveronpolymorphism I thinkitis.
Butwe'llgettothat.
Somaybeinthefuture I'llbedoingtheexercisesontime.
Butasofrightnow, withthestuffthatwe'relearning, uh, completelyfundwasjustdoingitwhen I makethevideo.
Sothisissectiontolecture 25 exercise, swiftthreelooseand a raise.
And I'vealreadygonethroughthis, butunfortunately, what I recordedmyscreenondecidedtonotwork, and I wentthroughthewholething.
Sowhat I wanttodoisleavethisrighthereandjustfollowdownwithmeas I gooverexactlywhat I'm doing.
I actuallydecidednottoleavemypreviouscommentaryintherebecauseitwas a littlebitallovertheplace, consideringthefactthat I havethevideotogowithit.
So I wasn't exactlysure.
Howisshe?
Oh, aboutthis.
Sowhat I wanttodois I'm justgonnapost a thesequickpicturesrightheresoyou'llseethescreenshotofthearrayshalfandthenyou'llseethescreenshotoftheloopshalfrightafter.
It's like, rightnowyou'llseetheloopshalfafteryou'vebeenseeingtheirraisehalf, and I willbegoingoveritifanybodywantsmeto.
So I don't knowhowmanypeopleactuallyenjoymegoingovertheexercise.
Soifyoudoseriouslyleave a commentbelowand I willmake a wholeothervideoofmegoingthroughthisexerciseagainandwhatmythoughtprocesswas.
I wishmyrecordingsoftwareweshouldjustQuickTimeplayerontheMacbookdidn't messup.
Butah, youknow, whatcanyoudoatthispoint?
So, yeah, let's goaheadandgetbacktotheregularvideolecture 26 optionals.
Although I'vegoneoverthisandsupposeplus, it's it's stillisfunny, but I mean, basically, it's youcreate a parentclassandChildrenclasseswithinthoseairunderthoseandtheChildrenclassesinheritthingsfromtheparents.
Solet's moveontoLecture 29 whichisprobablymorephysicalMarks, saidthat a popularinterviewquestionisdefinedpolymorphism, andhe's andhisownwordswere I can't reallydefinepolymorphism, but I'llshowyouanexample.
Whathesaysisthatyouknow, toshowanexampleis a loteasierforhim.
A fallingmorefizz, Umthenactuallylikedfindingit.
Sohegaveusanexample.
Yougiveusanexampleincode, butwhatkindofwhat I understandfromitis I'm gonnanerdout a littlebit.
Soyousay, playing a wardrobecrafteroranyothergamethathas, like, classesandsectionofstuff.
Like I hadsomeconcernswheresomeguestspeakersmayhavethickaccentorsomethinglikethatthat I can't reallyunderstandor I willfollowitjustkindofzoneout, getbored.