Religion
Religion and Innovation
Scientific progress...
Christianity and Virtue
I will not be seeing the Passion
The Holy Spirit
Visting the Scientology street fair
JavaScript and Christology
From my time teaching at Devbootcamp one of my “famous” lectures was the “JavaScript is like Jesus” lecture. This is a simplification, and I would have called the lecture “What Aristotle and the Arian Heresy teach us about thinking about JavaScript,” but terseness was never my strong suit (you are reading my blog after all).
Nevertheless, if one of these simplifications managed to help my flock remember and appreciate some of the subtleties of JavaScript, then all the better. I’ll now share the “JavaScript is like Jesus” content.
Content Warning: this post is written without a religious point of view. It considers Christianity as a historical phenomenon (what happened historically) and Christian dogma as philosophy. If your beliefs forbid consideration of this faith from such a perspective, you might want to skip this post.
Let’s start with a simple demonstration:
> f = function() {} < () {} > o = {} < Object {} > Object.getPrototypeOf(x) < () {} > Object.getPrototypeOf(o) < Object {}
Here we define f
and o
and then ask the Chrome V8 JavaScript engine to tell
us what it considers f
and o
to be. Helpfully enough, Chrome tells us that
f
is a Function
and o
is an Object
.
From a certain perspective, and certainly in common programing pedagogy, we
learn that Function
s are things-that-do-work and Object
s are things that
hold data like 1
or 3.14
or "Manhattan"
. Function
s change data, but
data is not runnable.
Consider this JavaScript expression: x.color = "Red";
“Is x
an Object
or a Function
? What is the essential nature of x
?”
The battle of wits has begun! More after the jump.
The Lucifer Myth and the Brain's Hemispheres
I’ve always found it interesting to speculate on what kernels of truth underlie some of humanity’s most-ancient and culture-crossing myths: e.g. the flood, the lost idealized garden, the couple that re-starts life from seeds. Could the flood have been the effects of an ice age ending and raising the sea level to swallow old settlements? Was the garden a primitive grasp of climate change triggering desertification to turn a grassland into an arid waste? Further afield, could life have been seeded from an ark of cells? In the age of alchemy, many writers saw these ancient stories as symbolic manuals for helping man understand and thus perfect himself.
One story whose truth, I speculate, might be alchemical-allegorical in nature is the Lucifer myth. It might be a poetic story to explain hard science about neuroanatomy and psychology and how we might smelt away our lesser natures to become purer, more godly beings.
In the myth, Lucifer seeks to deceive and falsely supposes himself to be equal to the most High (Isaiah 14:14). That’s poetry. But it resonates with recent research done by Dr. Ian McGilchrist. Perhaps this is what the alchemically-influenced artist Michaelangelo understood when he chose to paint God-the-Father in the shape of a brain.