Re:How an Engineering Company Chose to Migrate to D
by codemac on Wednesday June 20, 2018 @11:57AM
(#17356551)
Does Go take a copy or a reference?
[ Parent
| on HN ]
Re:How an Engineering Company Chose to Migrate to D
by rhencke on Wednesday June 20, 2018 @12:18PM
(#17356765)
The following example will provide your answer:
Re:How an Engineering Company Chose to Migrate to D
by mikepurvis on Wednesday June 20, 2018 @12:28PM
(#17356859)
The captured context persists between calls to the function, as the sibling example demonstrates, or this one: