Ruby's yield feature in relation to computer science

前端 未结 4 641
夕颜
夕颜 2020-12-02 07:58

I recently discovered Ruby\'s blocks and yielding features, and I was wondering: where does this fit in terms of computer science theory? Is it a functional programming tech

4条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-02 08:22

    I think the yield statement originated from the CLU language. I always wonder if the character from Tron was named after CLU too....

提交回复
热议问题