Ruby functions vs methods

前端 未结 3 1488
小蘑菇
小蘑菇 2020-12-14 01:27

In the Ruby Programming Language, Chapter 6 (second paragraph) they state:

Many languages distinguish between functions, which have no associated

3条回答
  •  别那么骄傲
    2020-12-14 01:53

    I think the distinction is between methods and first order function ie. functions that can be passed around as values.

提交回复
热议问题