The Gnome Village
happihacking.com·13w·
Discuss: Hacker News

Threads fight. Gnomes cooperate.

Posted: 2025-11-06

The Gnome Village

The Gnome Village

I see some developers that arrive at the BEAM carrying mental luggage from object-oriented or sequential programming.

They mix code with instance, classes and objects treated as one, and repeat it here by confusing code with processes.

Even I still fall into the trap of equating code (a module) with a process.

To break this thought pattern I have introduced the Gnome Village Metaphor.

Gnomes vs Machines

In OOP you tend to build machines of machine parts and wire them tightly.

The BEAM model is different: code stays in scrolls, state lives inside gnomes, and the only coupling is the message protocol.

You can have thousands of…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help