"In Rust, only lambdas (unnamed functions) can be closures".
The OP's post seems to show they didn't spend much time understanding whether Go closures could serve their need. Although from my own superficial understanding, D is "closer" to Pascal than Go.
"In Rust, only lambdas (unnamed functions) can be closures".
The OP's post seems to show they didn't spend much time understanding whether Go closures could serve their need. Although from my own superficial understanding, D is "closer" to Pascal than Go.