top | item 14403102

(no title)

safek | 8 years ago

On the other hand, how many languages do you know where arrays are passed by value?

discuss

order

macintux|8 years ago

My primary language (Erlang) does. I assume all functional programming languages do.

safek|8 years ago

That's true. I suppose my next argument is that seeing matrix.append(row) on its own line signals strongly that this is not a functional language.

thedufer|8 years ago

Is that true? I thought most functional programming languages did call-by-reference. I mean, if you have immutable data you can't tell the difference (outside of performance).