Michael Whatcott - Archives

Here's a complete history of my writings:

5 Feb 2024 ~ Go Quiz
Do you know Go?

9 Jan 2024 ~ The Introduction to The Book of Mormon
Another Testament of Jesus Christ

2 Oct 2023 ~ Review: GopherCon 2023
Just a few thoughts and reactions

21 Aug 2023 ~ Ten Years of Programming in Go

20 Aug 2023 ~ The 1st Epistle of Bishop Whatcott to the Primary
(Inspired by Paul's epistle to the Romans)

3 Aug 2023 ~ Alternative Go Method Expression Syntax
You think you know a language and then...BAM!

8 Jul 2023 ~ Jesus Christ is the Bishop of our Souls
...and as such is a perfect model for those who hold the office of Bishop in His church.

4 Jul 2023 ~ Scripture Chain: Repentance & Forgiveness
Each scripture referenced from General Handbook, Section 32.1

15 Jun 2023 ~ The New Testament, chapter by chapter
High-level concepts, goings-on, and questions answered.

10 Jun 2023 ~ A Workaround for Enabling Microphone Permissions for Minecraft Proximity Chat Mod

25 May 2023 ~ When 'generic' is too specific
...use a type conversion to prepare for the type assertion!

5 Apr 2023 ~ smarty/gunit vs. mdwhatcott/testing/should
Unsurprisingly similar on the surface...

22 Feb 2023 ~ Uncomfortable, yet not comfortless!
I should have seen this coming.

14 Jan 2023 ~ Today and Tomorrow
"The day of this life is the day for men to perform their labors"..."that they might be on the morrow in the place where Jesus should show himself"

28 Dec 2022 ~ Death is not the end!
Indeed, it's just the beginning.

7 Dec 2022 ~ The Morals of the Story
...a word which here means, "The Series of Unfortunate Events", by Lemony Snicket

26 Oct 2022 ~ Go Generics in Practice
Little snippets of Go generics I've written for real projects.

26 Sep 2022 ~ Rot13 to the Rescue!
A convenient way to obscure something you'd rather not see all the time.

4 Aug 2022 ~ Magnifying Our Calling (Part 2)
...is like building a ship!

19 May 2022 ~ Jesus Christ Delegates His Priesthood Authority
...to us! (If we'll receive it...)

25 Apr 2022 ~ Follow the Prophet: Russell M. Nelson
Cliff notes of his recent talks

26 Mar 2022 ~ The 'Fun' Matrix
Everything we do appears in two quadrants.

19 Mar 2022 ~ The Temple is Our Spiritual Foundation
Some thoughts on President Nelson's recent talks on the importance of temple worship.

23 Feb 2022 ~ Table-driven Tests in Clojure
There's a macro for that...

1 Feb 2022 ~ The Book of Mormon, chapter by chapter
High-level concepts, goings-on, and questions answered.

16 Jan 2022 ~ The Essence of the Gospel of Jesus Christ
...is the expression of compassion for others! (Elder Ulisses Soares)

18 Dec 2021 ~ "The Family"
A Proclamation to the World by the Apostles of The Church of Jesus Christ of Latter-day Saints, cross-referenced with the scriptures.

18 Dec 2021 ~ Scripture Scavenger Hunt
Just a little something constructive for youth on Sabbath afternoon...

29 Nov 2021 ~ With His Stripes We Are Healed
Messianic passages are sometimes just as much about *us* as they are about Jesus!

21 Nov 2021 ~ The Simple Terms of Eternal Life
Familiar scriptures, restructured to expose a common theme

19 Nov 2021 ~ "Unto such it shall be given"
Disciples of Jesus Christ are given great promises.

7 Nov 2021 ~ "Make Time for the Lord"
Thoughts on President Russell M. Nelson's latest general conference talk.

3 Nov 2021 ~ I'm a Clean Coder!
The apprenticeship was a wonderfully intense period of growth and learning.

26 Oct 2021 ~ Clojure's 'comp' and 'juxt' functions
Just a few illustrative examples.

25 Oct 2021 ~ Let's talk about Clojure's 'if-let' form
The if-let and when-let forms are mini violations of SRP!

22 Oct 2021 ~ Benchmarking Clojure Code, Part 2
My first Clojure library!

21 Oct 2021 ~ 'Partial' Predicates in Clojure
Honestly, I'm still on the fence with this one.

20 Oct 2021 ~ Vectors: last vs peek
Why it's important to understand the defining characteristics of data structures.

19 Oct 2021 ~ An Apostle's Prayerful Pattern
Elder David A. Bednar's consistent invitation to us throughout the years.

19 Oct 2021 ~ Map Merging in Clojure
How to combine various kinds of data into maps.

18 Oct 2021 ~ Brute Force vs. Indexing
Shorter + Faster = Win-win

15 Oct 2021 ~ Clojure Reader Dispatch Overload
Also, how to return a collection literal from an anonymous function literal.

15 Oct 2021 ~ Counting Frequencies In Clojure
"There's a function for that"

15 Oct 2021 ~ Benchmarking Clojure Code, Part 1
My first Clojure macro!

14 Oct 2021 ~ Solving Problems in Clojure
Just a few little functional adventures.

13 Oct 2021 ~ Your (Recursive) Loop Needs Reducing
Mind == Blown!

12 Oct 2021 ~ Generating Random Alphanumeric Codes in Clojure
Just a fun assortment of functional building blocks!

11 Oct 2021 ~ Apply vs. Reduce
When they are the same, and when they are different.

8 Oct 2021 ~ Sometimes Coding in Clojure Feels like Cheating
(maniacal laughing in background)

4 Oct 2021 ~ Mapping over multiple collections in Clojure
The map function maps 'n' collections to functions that recieve 'n' arguments.

1 Oct 2021 ~ 'Partial' String Formatting in Clojure
The 'partial' function effectively creates constants from incomplete function calls!

30 Sep 2021 ~ Keywords with Hiccup
Isn't it nice when a hunch turns out to be a supported feature?

29 Sep 2021 ~ Getting Started Test-driving ClojureScript
Q. So, when does it get easier? A. Right now!

24 Sep 2021 ~ Getting Started with ClojureScript
Is this a really tricky thing, or was it just me?

22 Sep 2021 ~ 'Print-line' Debugging with the 'Thread-as' Macro
Yet another plug for my new friend: `as->`

22 Sep 2021 ~ 'Threading' a Pedagogical Needle (part 2)
IMHO, let's introduce threading as a variation on the `let` form.

21 Sep 2021 ~ 'Threading' a Pedagogical Needle (part 1)
IMHO, threading macros should be introduced started with `as->`.

20 Sep 2021 ~ Double-brace Initialization in Java Considered Harmful
...to garbage collectors and kittens.

16 Sep 2021 ~ Nifty Bits of Java
Mostly discovered via Intellij's very helpful suggestions.

15 Sep 2021 ~ Another Layer
The fundamental theorem of software engineering in action

14 Sep 2021 ~ Contrast
Java: equal parts comforting and clunky.

13 Sep 2021 ~ "If the Savior Stood Beside Me"
(Spoiler Alert: He actually already does!)

10 Sep 2021 ~ "In the Wisdom of Him Who Knoweth All Things"
The Fall of Adam and Eve is a nuanced example of the infinite wisdom that permeates Heavenly Father's Plan of Redemption!

10 Sep 2021 ~ Simplifications
It's amazing how often we assume that things should be more complicated than needed.

9 Sep 2021 ~ The Open-Closed Principle, for GUIs
Remember, systems should be open for extension and closed for modification.

8 Sep 2021 ~ Mocking Without Dependency Inversion
Just a few thoughts and musings.

7 Sep 2021 ~ Threading Through Map Keys in Clojure
An alternative to the `get-in` function.

3 Sep 2021 ~ The "Game of Life" Kata in Clojure
Along with a case for using random inputs in certain testing scenarios.

2 Sep 2021 ~ Inverting 'If' Statements in Clojure
How about a little code golf?

1 Sep 2021 ~ Mocking External Library Functions in Clojure + Speclj
I'm finally 'grok'-ing the approach!

31 Aug 2021 ~ Back in the groove
Ah, much better!

30 Aug 2021 ~ Filtering Set Intersections In Clojure
A convenient little trick!

30 Aug 2021 ~ When everything is a 'one-liner'
It's no wonder so many programmers are hesitant to adopt the functional paradigm!

27 Aug 2021 ~ A Lapse in Discipline
Has this ever happened to you?

27 Aug 2021 ~ Clojure Map Keys as Functions
A twist on a previous post.

26 Aug 2021 ~ "Tic-Tac-Toe! 4-in-a-row!"
That's how it goes, right?

25 Aug 2021 ~ When the going gets 'gui'...

24 Aug 2021 ~ Managing GUI Screens with Quil
It's all just data.

23 Aug 2021 ~ Clojure Maps as Functions
Just a little Monday morning 'ah-hah!'

20 Aug 2021 ~ Mocking With Speclj
A phrase which here means "designing functional code to be more testable".

19 Aug 2021 ~ KISS: Keep It Simple, Smarty!
Smart people keep things simple.

18 Aug 2021 ~ Manual Vertical Code Alignment in Clojure
...if you're into that sort of thing.

18 Aug 2021 ~ Manual Vertical Code Alignment
Just a little bit here and there can really spruce up the place.

17 Aug 2021 ~ The Prime Factors Kata in Clojure
With music by Bach*, Beethoven, and Brahams, all performed by Michael Whatcott

16 Aug 2021 ~ Working with Grids in Clojure
My head hurts.

12 Aug 2021 ~ SOLID: The Single Responsibility Principle (SRP)
Software entities should have only one reason to change.

12 Aug 2021 ~ SOLID: The Open/Closed Principle (OCP)
Software entities should be 'open for extension but closed for modification'.

12 Aug 2021 ~ SOLID: The Liskov Substitution Principle (LSP)
Subtypes must be substitutable for their base types.

12 Aug 2021 ~ SOLID: The Interface Segration Principle (ISP)
Clients should not be forced to depend on methods they do not use.

12 Aug 2021 ~ SOLID: The Dependency Inversion Principle (DIP)
High level policy should depend on abstractions rather than low-level implementations.

11 Aug 2021 ~ The Bowling Game Kata in Clojure
My variation on a theme by Robert C. Martin

10 Aug 2021 ~ Extract Till You Drop
How to go about extracting functions isn't always obvious at first.

9 Aug 2021 ~ Destructuring in API Design
Applying destructuring to smooth out helper methods.

6 Aug 2021 ~ List vs Vector
Round 1...FIGHT!

5 Aug 2021 ~ Prime Number Iteration
An effective, but not overly complicated, solution.

4 Aug 2021 ~ Threading Speclj Assertions
Just a crazy idea

3 Aug 2021 ~ Functional Bowling Game Kata
(as opposed to...disfunctional bowling game kata?)

2 Aug 2021 ~ Clean Coders: Resident Apprentice
I'm now a resident apprentice at Clean Coders Studio!

2 Aug 2021 ~ Let's Go Bowling!
Learning something new? Try bowling with it...

2 Aug 2021 ~ Getting Started with 'speclj'
Just a 'speclj' of tests here and there...

11 Jul 2021 ~ Hearts Knit Together In Unity
...and in love one towards another

28 Jun 2021 ~ Faith and Fairness
We'd like more of both, but when fairness feels fleeting, we can always exercise our faith!

25 Jun 2021 ~ Go Test Helpers
Just a few suggestions.

15 May 2021 ~ gunit vs. testify
Surprisingly similar on the surface...

20 Mar 2021 ~ The Atoning Power of Jesus Christ
The ordinance of the Sacrament is an important way for us to receive the Savior's power!

5 Oct 2020 ~ "The Living Christ"
The Testimony of the Apostles of The Church of Jesus Christ of Latter-day Saints, cross-referenced with the scriptures.

5 Oct 2020 ~ "Let your light so shine before this people..."
...but not "to be seen of them."

4 Oct 2020 ~ An overview of GTD
(also details of own implementation)

18 Sep 2020 ~ Go Testing With Functional Fixtures
Writing expressive tests with nothing more than the "testing" package.

2 Aug 2020 ~ Hymn #11

9 Jun 2020 ~ Go Starter Kit
Helpful resources for Go programmers

31 May 2020 ~ "The Restoration of the Fulness of the Gospel of Jesus Christ"
A Bicentennial Proclamation to the World, cross-referenced with the scriptures.

18 Mar 2020 ~ Mob Programming
Why not give it a try?

1 Feb 2020 ~ Be strong, and of a good courage...

21 Jan 2020 ~ "What is to be done?"
"...if any person needed wisdom from God, I did; for how to act I did not know..."

19 Jan 2020 ~ When the going gets tough...
...the tough turn to the scriptures.

1 Jan 2020 ~ Composition: "The Lost is Found" (SATB+Piano)
by Michael and Jenny Whatcott

30 Nov 2019 ~ Assignmnents and Ifs
Should assignment statements be inlined into if statements by default?

29 Oct 2019 ~ Discipline => Traction
The counterintuitive constraints of discipline provide empowering traction!

28 Oct 2019 ~ Reciever Names in Go
Commentary on the 'Receiver Names' section of 'Code Review Comments'. You may not like it.

11 Aug 2019 ~ According to Our Infirmities
Part of Jesus' amazing grace is the merciful truth that he suffered through the very infirmities he gave to us.

8 Aug 2019 ~ The Physical Body
Heavenly Father's Amazing Gift

1 Jul 2019 ~ Church Music
Comprehensive indices of my church music compositions and collaborations.

23 Jun 2019 ~ Hymn: The Atonement of Christ
by Dirk and Michael Whatcott

16 Jun 2019 ~ Hymn: On This the Sabbath Of Our Lord
by Jenny Whatcott and Michael Whatcott

13 Jun 2019 ~ Hymn: We Worship God
by Dirk Whatcott and Michael Whatcott

9 Jun 2019 ~ "...opposition (and opportunity) in all things..."
Mortality presents extreme opposition but with exponentially proportional opportunities.

1 Jun 2019 ~ Hymn: In Temples
by Joyce Holladay Glenn and Michael Whatcott

31 May 2019 ~ Song: I Can Have Joy
by Jenny and Michael Whatcott

12 May 2019 ~ Hymn #10

4 Apr 2019 ~ Nephi's wife
Who saved his life on at least one occasion.

1 Apr 2019 ~ More Sister Scriptures
The scriptures are consistent and self-fulfilling.

30 Mar 2019 ~ Hymn #9

24 Feb 2019 ~ Moving in his Majesty and Power
The creations and servants of God allow us to see him moving in his majesty and power.

10 Feb 2019 ~ Hymn #8

20 Jan 2019 ~ Hymn: The Redemption of Zion
by Dirk and Michael Whatcott

9 Jan 2019 ~ Hymn: As Saints We Gather
by Jana Amundson and Michael Whatcott

6 Jan 2019 ~ Hymn #7

12 Nov 2018 ~ Hymn: Come Unto Christ
by Bryan and Jana Amundson and Michael Whatcott

30 Oct 2018 ~ Hymn #6

16 Oct 2018 ~ Prophetic Promises
From October 2018 General Conference

21 Sep 2018 ~ Song: The Gathering of Israel
by Michael Whatcott

20 Sep 2018 ~ If this, then that...
The scriptures are full of conditional logic.

17 Sep 2018 ~ Hymn: Sufficient Yet My Grace Shall Be
by Michael Whatcott

10 Sep 2018 ~ Hymn: Preach My Gospel
by Dirk Whatcott and Michael Whatcott

19 Aug 2018 ~ I Belong to The Church of Jesus Christ of Latter-day Saints

16 Aug 2018 ~ Hymn #5

16 Aug 2018 ~ Hymn: Remember Me
by Bryan Amundson and Michael Whatcott

30 Jul 2018 ~ Hymn: The Lost is Found
by Michael and Jenny Whatcott

29 Jul 2018 ~ Hymn: The Glory Of God
by Michael and Dirk Whatcott

28 Jul 2018 ~ Footnote Expansion - "With One Accord", by Sis. Reyna I. Aburto

22 Jul 2018 ~ Hymn #4

8 Jul 2018 ~ Hymn #3

25 Jun 2018 ~ Hymn #2

19 Jun 2018 ~ Hymn #1

18 Jun 2018 ~ Call for Collaborators: New Hymns and Primary Songs
Have you ever wanted to team up with a composer to write a hymn or primary song? Now's your chance!

4 Jan 2018 ~ The Clean Coder
Thank you "Uncle Bob" Martin!

8 Oct 2017 ~ What's your next step?
Why not let the Master Teacher show you?

26 Sep 2017 ~ Ten Years Since "Teach Yourself to Program in Ten Years"
Thank you Peter Norvig!

3 Sep 2017 ~ Sister Scriptures
Selected references bear striking resemblance to one another.

15 Aug 2017 ~ 1 Tomato, 2 Tomato, 3 Tomato, 4!
How discipline with time management facilitates pair programming.

19 Jul 2017 ~ Great Expectations
God has promised amazing blessings to those that meet his expectations.

26 Jun 2017 ~ A few of my favorite TLAs
How GTD helped me learn a bit more about TDD.

14 Dec 2016 ~ The Power of Prayer

27 Nov 2016 ~ All things shall work together for your good

24 Nov 2016 ~ Happiness == Righeousness

19 Sep 2016 ~ Your (home teaching) family
The nature of home teaching asks us to open our hearts to people as if they are part of our extended family.

11 Sep 2016 ~ A "Divine Design" Document
The Family: A Proclamation to the World

31 Aug 2016 ~ Angelic Zeal
O, that I were an angel!

15 May 2016 ~ To Honor and Magnify the Priesthood
What it means to me personally.

11 Dec 2015 ~ Jesus Christ - Related Study Help Entries

16 Oct 2015 ~ Lehi's Vision of the Tree of Life
(In a single verse)

9 Aug 2015 ~ Sustain the Prophet
In both word and deed

30 Jul 2015 ~ The Sabbath is a Sign
The Lord gave the Sabbath day as a 2-way sign between us and him.

10 Jun 2015 ~ Continuous [Spiritual] Integration
Is there a test suite for our spirits?

11 May 2015 ~ The heart of the Shepherd
To what lengths will the shepherd go for his sheep?

21 Feb 2015 ~ Nephi had charity for his people
...and great faith in Christ that [he would] meet many souls spotless.

18 Feb 2015 ~ Embedding is beneficial
...whereas an explicit interface keyword is harmful

12 Feb 2015 ~ Go code that stutters
"You keep using that word...I don't think it means what you think it means..."

13 Jan 2015 ~ On the morrow
...in the place where Jesus would show himself...

6 Jan 2015 ~ Personal Affirmations in the Scriptures
Powerful positive statements that can help shape our thoughts and actions

30 Dec 2014 ~ The Main Thing
...is to keep the Main Thing the Main Thing...

8 Dec 2014 ~ Jacob Marley's Regret
"At this time of the rolling year I suffer most..."

1 Dec 2014 ~ "For the power is in us"
A review of "Choices for a New Year"

23 Oct 2014 ~ Spiritual Health
Our spirits, like our bodies must be cared for.

29 Sep 2014 ~ Let us be wise and look forward...for the peace of this people.
Mosiah, the last Nephite King, made the world a better place for his children and his people.

15 Sep 2014 ~ Productivity
What do the scriptures teach about personal productivity?

30 Aug 2014 ~ GTD: Mastering Workflow - Processing (as an algorithm)
Surprisingly, this is even more helpful than the diagram.

23 Jul 2014 ~ Magnifying our calling
What's an effective way to think about the word 'magnify'?

15 Jul 2014 ~ Extending Our Mortal Probation
...is actually an attainable blessing, worth striving for.

2 Jul 2014 ~ Shameless and blameless
Don't believe the voice that encourages you to hide.

11 Jun 2014 ~ Nephi would have had a great blog...
"...upon these I write the things of my soul, and many of the scriptures...For my soul delighteth in the scriptures, and my heart pondereth them, and writeth them for the learning and the profit of my children." (2 Nephi 4:15)

29 May 2014 ~ Home Teaching Reporting
(V)oluntary - (F)requent - (D)etailed

18 May 2014 ~ To hold the Priesthood is to repent
Alma 13 isn't just about the Priesthood, it's about how Priesthood holders repent.

14 Apr 2014 ~ A continuum of spiritual growth
Continuum: a sequence in which adjacent elements are imperceptibly different from each other, although the extremes are quite distinct.

28 Mar 2014 ~ Brvty

23 Mar 2014 ~ Life is like a 3-act play
Otherwise entitled: 'How can we explain stuff that seems unfair?'

13 Jan 2014 ~ A Firm Mind

7 Jan 2014 ~ Media and Leisure
Appropriate use of media and keeping leisure activities in proper perspective

1 Jan 2014 ~ Choices for a New Year
A handout provided by the Spring Creek 8th Ward

30 Dec 2013 ~ Faith-promoting Scriptures
...and some memorization hints.

30 Dec 2013 ~ Jacob the poet-prophet
A gifted writer, much of his writings are evocative in their imagery.

25 Dec 2013 ~ GoSublime + GoImports = :)
Had enough? -- build failed: imported and not used: 'fmt' --

13 Jun 2013 ~ A few 'bits' of python

31 May 2012 ~ pyspecs - Minimalistic BDD in Python
pyspecs is a testing framework that strives to achieve more readable specifications (tests) by leveraging some fancy syntactic sugar and auto-discovery of tests/specifications (specs).

2022 ~ 2021 ~ 2020 ~ 2019 ~ 2018 ~ 2017 ~ 2016 ~ 2015 ~ 2014 ~ 2013 ~ 2012 ~ Archives