Hacker News new | ask | show | jobs
by jmkr 1962 days ago
Take any idea of a data pipeline, something like with rabbit or kafka. Now describe that in functions by composition.

read-data -> push-to-rabbit -> read-from-rabbit -> send-ack -> push-to-http.

Turns out with functional composition + data structures you can do a lot.

With the idea of immutability or persistent data structure with say Clojure, a lot of idea start to make sense. Rich Hickey videos are pretty good at describing simpler programs. Even if you never use Clojure, or Lisp, or Scheme, these idea might make you a better programmer. At least they did for me. My Python code is now much simpler because I realized I didn't need everything I was doing.