3 ms·
> numbers..toString() // Equivalent to numbers.map(x => x.toString()) You mean something like string.(1:5) in Julia?
by dunefox 6y ago
> numbers..toString() // Equivalent to numbers.map(x => x.toString())
You mean something like
string.(1:5)
in Julia?
- RivieraKid 6y agoYes. I really like Julia but I wish there was language that had all of the advantages of Julia but none of the drawbacks (for me it's lack of static typing, function(object) vs the more readable object.function(), 1-based indexing).
- dunefox 6y agoThe indexing really isn't a problem in practice after a while. function(object) isn't just a readability thing, it's due to multiple dispatch which is ingenious. Lack of static typing, well... yeah.
- RivieraKid 6y agoMost of the problems I've seen that multiple dispatch solves can be solved with extensions.
- dunefox 6y agoAnd everything can be implemented in assembly, that doesn't mean that there aren't superior alternatives.