We introduce the basics of function syntax in Go.
Like what you see? Please like, subscribe, and check out our free online course accompanying this video at https://programmingforlovers.com.
Check your work on this code along and get access to dozens of autograded exercises at Cogniterra: https://cogniterra.org/course/63/promo.
Join our P4❤️ community Discord: / discord
Help us grow our project by making a donation: https://www.paypal.com/donate?campaig....
00:00 Introduction
00:52 Setup
02:25 A factorial function
07:07 Handling negative inputs with panic()
10:01 Zero factorial
12:05 A very large factorial encounters overflow
15:16 An infinite loop, and a fundamental question about halting
19:36 A function that sums the first n positive integers
23:01 Shorthand for arithmetic assignments
26:21 Try implementing EuclidGCD()
27:28 Happy coding! ❤️
On this page of the site you can watch the video online While Loops in Go with a duration of hours minute second in good quality, which was uploaded by the user Philomath 04 October 2023, share the link with friends and acquaintances, this video has already been watched 744 times on youtube and it was liked by 11 viewers. Enjoy your viewing!