100 Days of Code – Day 42
Life, the Universe and Everything!
Why doesn’t javascript have a Math.sum() function? I did find a Math.sumPrecise() maybe I should have used that, but I wanted sum. I used a reduce higher level instruction instead.
Otherwise todays first exercise hamming was easy as described. Raindrops, Nucleotide count, Scrabble score, and Allergies were also easy. I like my version of nucleotide-count, and scrabble-score better than the community ones I looked at. With five exercises under my belt for today I am only four behind pace now.
A couple of new demos and we have finished Chapter 11. The pictured one is two GameBoys linked together sending multiple bytes with waiting done by timer interrupt. Tomorrow is Chapter 12 – Advanced Graphics. This also brings us past the half way mark in the book.
