hackertube.io

Bottom Up vs Top Down Design in Clojure - Mark Bastian

ClojureTV · talk · Watch on YouTube

What it is

Mark Bastian contrasts top-down object-oriented design with bottom-up, data-oriented design in Clojure. He models a board game as plain data plus small composable functions and compares it with a roughly 22-class OOP version.

Why Hacker News recommends it

HN repeatedly recommends it as the talk that made data-oriented, REPL-driven bottom-up design click.

  • 5 people recommended it
  • 7 different months
  • 4 strong recommendations
  • first 2016, last 2021

What HN commenters said

  1. “One of my favorite videos from Clojure Conj last year”

    Contrasts data-oriented and OO modeling of a board game with big simplicity gains.

    lewisl9029, 2016-03 · Strong recommendation · in “A Database Model for Simple Board Games”

  2. “Here's a good video highlighting the difference of approach. Well worth watching.”

    Highlights how top-down design creates needless complexity.

    beders, 2019-04 · Strong recommendation · in “Show HN: Tetris Implemented in ClojureScript”

  3. “is the talk that really made it clear to me how to design programs this way.”

    Made clear how to design programs bottom-up with a REPL.

    robto, 2021-04 · Strong recommendation · in “Making a Lego Domino Machine [video]”

  4. “I think, a "Data Driven Development" approach would make a lot of implementations easier.”

    Talk on data-driven development making implementations easier.

    cygned, 2016-10 · Recommendation · in “Modern Software Over-Engineering Mistakes”

  5. “It is however a very good tool to do bottom up design.”

    Shows Clojure as a good tool for bottom-up design.

    abc_lisper, 2017-01 · Recommendation · in “Making the move from Scala to Go”

Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.

Topics: clojure, data-oriented design, oop vs functional, repl, board games

Also recommended by the same people