|
|
|
|
|
by VLM
4371 days ago
|
|
A question for the intersection of Python and Clojure people, is a generator kinda like a lazy sequence from Clojure? Or is that wrong or is there more to it? Yes, I'm well aware looking at the dates that python generators came a bit before clojure lazy sequences BUT I personally learned Clojure lazy sequences first. What I'm getting at that's relevant is the OP article author needs to tune up his analogy engine. The older I get the more "I've seen this before and know exactly what to do". As long as I can draw (hopefully correct) analogies, I can learn something very quickly. I don't know any Python at all, and 2 or 3 minutes of google searching implies a python generator is like a clojure lazy seq, so if I'm on the right track, I'm doing well. |
|