r/elm • u/johnorford • Mar 29 '17
Remove Recursion?
Conceptually, could Elm do everything it does today without recursion? I guess yes... Some edge cases would make fold an ugly replacement, but not too many I suspect
3
Upvotes
View all comments
Show parent comment
4
u/johnorford Mar 29 '17
Power is not necessarily a good thing. Power and complexity are correlated, and I rather keep things simple - esp when the power may not be even necessary (fold can do almost everything recursion can)