Hacker News new | ask | show | jobs
by foobarian 228 days ago
This sounds to me like the old hexagonal architecture [1]

[1] https://en.wikipedia.org/wiki/Hexagonal_architecture_(softwa...

2 comments

Yep! I remember the phrase "functional core, imperative shell" being popularized by Gary Bernhardt in ~2012 [0][1]; in his talk Boundaries [0] (around 31:00), he even mentions "hexagonal architecture" by name.

[0]: https://www.destroyallsoftware.com/talks/boundaries

[1]: https://www.destroyallsoftware.com/screencasts/catalog/funct...

Famously how Doom was written and maybe part of why it was ported to so many platforms.

Hex is kind of a PITA for ground up projects, but if you are doing something where you know multi-platform/cloud/device whatever is important it is cool.