Comment

Comment by teodorlu

> I would love a language that has this gradual evolutional abstracting as a core concern. That makes it easy. Where you can start from simplest imperative code and easily abstract it as the need for this arises.

This is about how I write Clojure.

I start out with some code that does the thing I want. Either effectfull code that "does the thing" or functions from data to data.

After a while, I feel like I'm missing a domain operation or two. At that point I've got an idea about what kind of abstraction I'm missing.

Rafael Dittwald describes the process of looking for domain operations and domain entities nicely here:

https://youtu.be/vK1DazRK_a0

parent teodorlu 2 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton