|
|
|
|
|
by wwright
2040 days ago
|
|
I think you may be thinking of implicit returns, where the `return` keyword is not necessary. An inferred return is a separate feature where the return type is known by the compiler, but not stated explicitly by the programmer. (Note that the code in question uses both.) Ruby, of course, technically has both as well. However, inferring a return type in a dynamically-typed language is probably less noteworthy ;) |
|