On Wednesday, August 17, 2016 at 12:59:54 PM UTC-4, Erik Schnetter wrote: > > In Julia, you would not map a string, but map a function instead: >
Even in Matlab these days you should really pass functions around. Matlab has perfectly okay lexically scoped anonymous functions @(args...) expr. Higher-order functions (passing functions as arguments) and anonymous functions (defining functions on the fly) are two of those things that should be on more people's "must learn" list in programming, but which are often pushed to the sidelines.
