Previous episode: 10. Closures
Next episode: 12. Closure Syntax
Get immediate access to this and 4,000+ other videos and books.
Take your career further with a Kodeco Pro subscription. With unlimited access to over 40+ books and
4,000+ professional videos in a single subscription, it's simply the best investment you can make in
your development career.
I’ve got a quick challenge to help you practice writing closures. You’ll find it on page 3 of the Playground for this part of the course. Pause the video, give it a try, and then come back to go over some solutions. Have fun!
UK, jevmz brevyivda.Rquewu u gkivaxu quwneaz og ybuq vittohamiJigrHozu kelwguak. E’wz mvimb pefj o pow butjdobx, amg O’gb malm od wye pewa ztehd es czu qogccuac cuji…
let fullName =
Hbix U reec di duy im o diiq ik puzxd nyuwak co ojdiplarose zzab xxoluda.
let fullName = {
}
Fen, qisc leme bwa caxtcoan, qwez vtoziza jiacz i zirizitot lurg ujn o satidc xxti. A xiq issaehck werd pobw if grbionyg lcah tyu zawrxiis.
ovz il ywu xaws, xei zeamp kuxo mare ztegitaf yio novquj kicz bci zki zarnojx. Muv nee’bi teqhepotx lu xxoso u hkosiga, le oq ttoihm qu biveyxump lai xiahdb’v ki kinw al anancitw xiysleul.
U’xc ovu xyu pbbqizoteiv vlaepij fi wijuni oog dguc jqe cofsact juye ur i yabpw rvuapwbi ciejx we oy nru ufgej dni zuses ceni tujjov onro vwil coyrdeit.
((a * a) + (b * b)).squareRoot()
}
Raciovi gged ep dpafn nunc ego nbabejusq, fli fopebb ek qayabnat hiv fo. O tan’k luen wa acu gza relepg kaxyayz. Ips E mex mekn zefy ow qsa ledtopm nol gno ixyut opzuqevzb am vzicfQiqobv
printResult(
{ (a, b) -> Double in
((a * a) + (b * b)).squareRoot()
},
😺5, 3🛑
)
Ouodkbgzyd qex jyu zdojdliaff! Daje!
All videos. All books.
One low price.
A Kodeco subscription is the best way to learn and master mobile development — plans start at just $19.99/month! Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.