Chuyển sang chế độ ngoại tuyến với ứng dụng Player FM !
Swift Defer Statements and Programming with Emojis (Episode 23)
Manage episode 155049376 series 1144178
Swift Defer Statements and Programming with Emojis (CartoonSmart Video Tutorial Podcast Episode 23)
Watch Fullscreen
Time to learn about defer statements! This chunk of code runs in functions marked with the throws option, regardless of whether or not an error occurs. Hrm doesn’t sound right. What the heck , here’s what the official Swift Programming Guide has to to say… “Use defer to write a block of code that is always executed before a function returns, regardless of whether an error was thrown. You can use defer even when there is no error handling, to simplify functions that can return from several different places”. Yeah, so that. We also have some fun programming with emojis! As usual, curb your appetite for serious programming tutorials. These are just for fun!
Hosts: Justin Dike, Clevon O’Doul
70 tập
Manage episode 155049376 series 1144178
Swift Defer Statements and Programming with Emojis (CartoonSmart Video Tutorial Podcast Episode 23)
Watch Fullscreen
Time to learn about defer statements! This chunk of code runs in functions marked with the throws option, regardless of whether or not an error occurs. Hrm doesn’t sound right. What the heck , here’s what the official Swift Programming Guide has to to say… “Use defer to write a block of code that is always executed before a function returns, regardless of whether an error was thrown. You can use defer even when there is no error handling, to simplify functions that can return from several different places”. Yeah, so that. We also have some fun programming with emojis! As usual, curb your appetite for serious programming tutorials. These are just for fun!
Hosts: Justin Dike, Clevon O’Doul
70 tập
Tất cả các tập
×Chào mừng bạn đến với Player FM!
Player FM đang quét trang web để tìm các podcast chất lượng cao cho bạn thưởng thức ngay bây giờ. Đây là ứng dụng podcast tốt nhất và hoạt động trên Android, iPhone và web. Đăng ký để đồng bộ các theo dõi trên tất cả thiết bị.