You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "FredGan (Jira)" <ji...@apache.org> on 2020/08/25 08:42:00 UTC

[jira] [Created] (ARROW-9850) [Go] Defer should not be used in the loop

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)