Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: