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! ❤️
In questa pagina del sito puoi guardare il video online An Introduction to Strings in Go della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Philomath 10 novembre 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,135 volte e gli è piaciuto 11 spettatori. Buona visione!