我看到他们在这里被记录在案.它们是一样的吗?为什么Ruby有这么多别名(比如数组的map/collect)?非常感谢.
ruby reduce alias inject
alias ×1
inject ×1
reduce ×1
ruby ×1