4 ms·
Did you read the whole article though? The whole point of it was that using iteration instead of tail recursion exposes elements of the other classes implementa
by SlyShy 15y ago
Did you read the whole article though? The whole point of it was that using iteration instead of tail recursion exposes elements of the other classes implementation, which breaks down the abstraction barriers and separation of concerns. The tail recursive approach was able to function while maintaining purity.
- p4bl0 15y agoYes I read that. I was trying to answer your question about how this is handled by Python (or any language which doesn't have PTC) programmers.
- SlyShy 15y agoJust a miscommunication, then. I was wondering if there was a way of getting around the problems of the iterative approach in Python. After more reading, it seems it could be possible, but messy.