Like of course, each domain has its own set of pri...
# thinking-together
w
Like of course, each domain has its own set of primitives and operations that make sense for it, and we need libraries/languages/whatever to reflect that. The main question is rather, when there is shared structure between domains, how much of that can be captured by abstractions in the underlying programming system?
👍 2
r
@Will I'm not sure I understand exactly what you mean. Could you give: 1. an example of what you mean by shared structure between domains; 2. an example of it being captured by abstractions in the underlying programming system; 3. an example of it not being captured by abstractions in the underlying system?
w
1. Many operations in different domains can be meaningfully modeled as higher order functions. Map and filter in the data/list processing domain, route handling in the web processing domain. A language which allows higher-order functions can enable both domains to express that underlying structure in their API.
That’s also #2.
3. And C is a language that does not easily allow the definition and use of higher order functions, so development of such libraries is more difficult.
r
Thanks, that's very clear.
😇 1