Comment by fullstop
I would suggest using it to add scripting functionality to your own C or C++ project. That's when it really clicked for me.
When you're doing stuff in nvim or HammerSpoon, you're dealing with someone else's interface and the decisions that they've made.