Y
Hacker News
new
|
ask
|
show
|
jobs
by
brap
68 days ago
I really like the “functional core, imperative shell” approach, I try to use it whenever I can. I wish more non-FP languages had a way to mark a function as pure (and have this statically enforced).
1 comments
codethief
67 days ago
Agreed. "Prefer pure functions, push side effects to the boundary (functional core, imperative)" is at the top of my CLAUDE.md these days.
link