46367 (1) [Avatar] Offline
#1
Nathan Youngman (56) [Avatar] Offline
#2
Hi Doug,

This solution is excellent. I like how you used strings.Builder.

Also, I didn’t realize converting a string to []rune does the right thing for UTF-8, but it does! Thank you.
https://play.golang.org/p/Jc0rpciQHJh
386193 (5) [Avatar] Offline
#3
Chap 11 Capstone: the Vigenere cipher
46367 wrote:Here's my solution:
https://play.golang.org/p/JNLh7dGctgL
Nathan Youngman (56) [Avatar] Offline
#4
Chap 11 Capstone: the Vigenere cipher
386193 wrote:
46367 wrote:Here's my solution:
https://play.golang.org/p/JNLh7dGctgL


Nice work. Note that you can also do:

const asciiA rune = 'A'


or even:

const asciiA = 'A'