top | item 45255452

(no title)

gnatmud8 | 5 months ago

i also wonder about this concept; is there a programming language that has this behavior?

discuss

order

eterps|5 months ago

Ada, Nim, Pascal. I think C++ also offers it with a specific syntax.

Rust also offers it, but you need to specify it on the call side as well.

v9v|5 months ago

Fortran can do "in out" arguments to subroutines also.