TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Synchronous Core, Asynchronous Shell

18 pointsby sulami11 months ago

1 comment

zogrodea11 months ago
I follow the same principle in my code, but doesn&#x27;t the &quot;functional core, imperative shell&quot; pattern already push the async stuff out of the core?<p>What would be an example of an async operation that doesn&#x27;t perform a side-effect (thereby needing a place in the imperative shell rather than the functional core)?<p>I think pushing async to the shell is really a subset of pushing imperative code to the shell.