After introducing the basics of strings, we will apply what we learn to implement a function that takes the reverse complement of a given DNA string.
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:35 Code setup and pseudocode
01:49 Converting symbols and integers to strings
04:20 Converting strings to integers and checking errors
07:48 Parsing decimals from strings
09:37 Declaring strings and string concatenation
11:34 Indexing strings
15:30 Writing a ReverseComplement() function
16:39 A point about laziness and modularity
16:51 A first try at a Complement() function with a switch statement
21:24 Strings are read-only slices of bytes
22:41 Fixing Complement()
25:40 Optimizing Complement()
28:50 Implementing Reverse() to reverse a string
34:10 Checking all our functions
36:27 Modular code is easier to conceptualize and test
37:12 Happy coding! ❤️
En esta página del sitio puede ver el video en línea An Introduction to Strings in Go de Duración hora minuto segunda en buena calidad , que subió el usuario Philomath 10 noviembre 2023, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 1,135 veces y le gustó 11 a los espectadores. Disfruta viendo!