FredGan created ARROW-9850:
------------------------------

             Summary: [Go] Defer should not be used in the loop
                 Key: ARROW-9850
                 URL: https://issues.apache.org/jira/browse/ARROW-9850
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Go
    Affects Versions: 1.0.0
            Reporter: FredGan


As is described in the second section in 
[https://blog.learngoprogramming.com/gotchas-of-defer-in-go-1-8d070894cb01]

 

defer inside the loop may cause unforeseen problems.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to