|
|
|
|
|
by justsaysmthng
3752 days ago
|
|
Yeah, I guess it depends on how many instructions are in that one liner and how intelligible it is three years from now.
The expressiveness of the language also helps a lot. a.map { x in x * 3 } is probably intelligible enough (in Swift) so no need for util.multiplyEveryElementBy3(a).. |
|