Daphne Preston-Kendal on Nostr: Two points: 1. The point Olin makes at the beginning of ‘Anatomy of a Loop’ is ...
Two points:
1. The point Olin makes at the beginning of ‘Anatomy of a Loop’ is basically correct: named let (tail recursion in general) as a means of iteration is too primitive and makes it too hard to change decisions about data representation.
2. There are numerous attempts at loop syntax in Scheme to solve this, but hardly anyone uses them. They just don’t feel Scheme-y.
Conclusion: named ‘let’ is bad, but is so entrenched as a Scheme idiom that anything else feels un-Scheme-y.
1. The point Olin makes at the beginning of ‘Anatomy of a Loop’ is basically correct: named let (tail recursion in general) as a means of iteration is too primitive and makes it too hard to change decisions about data representation.
2. There are numerous attempts at loop syntax in Scheme to solve this, but hardly anyone uses them. They just don’t feel Scheme-y.
Conclusion: named ‘let’ is bad, but is so entrenched as a Scheme idiom that anything else feels un-Scheme-y.