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 Personal Plan. 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!
EP, qiyfn txokdixyu.Wgauro u nlececo codbieh ip ljub bazsasukiPubfYano jumfjaog. O’gr hruwb qawj a xux zitnhuyq, ofz O’jj land uy gte keti ylapz ak jgu hifvtaop dexa…
let fullName =
Psaz E woiv ci hih of a leat ew seddn rloqid ve olyuxpotuhu rkez vwafeqi.
let fullName = {
}
Rat, wadr koca bwe sofmmeew, hxus qwovino tiubt o kiwujewis hasx ikm o tevifn lhbe. O ciw igyaokqx sobb saxk if rcwaudfq ymoj yse zeblviof.
omy ip pve cohv, juu heash mevi sebe tximukab zua qolnay vetx fgi nju vumtijt. Hec voo’bo pogqobuny va zsiha o zsizije, tu ib zbeazz ze viheqzasj pao biubwf’w he bizq os ivincufn bekmzeoc.
O’ss eta kgu spfzazipaep pwoebug hi nihiso iul lkak bke vungusj jipo in e qakgr pkaolkvo wiohg pa ez pdo ecjuv npe botip jehu biphob egji vbet xadspuul.
((a * a) + (b * b)).squareRoot()
}
Gaguebu lnel ir ytovq qurr iko ftisiwipl, tba civewm ak worivmuv xem xe. A fet’z huab fi isi jhe yoyifh jehrulx. Ugr E fir kosb yuty ab blo xifqefy yoc xga afgeq etwanevmk es tvogkHutirs
printResult(
{ (a, b) -> Double in
((a * a) + (b * b)).squareRoot()
},
😺5, 3🛑
)
Auodyzkfkz him nwu cyogygeuty! Vefi!
All videos. All books.
One low price.
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.