Is it recommended to use global variables in a program that implements goroutines?
Answer Posted / Dinesh Kumar Dubey
It's generally not recommended to use global variables when working with Goroutines because they can lead to concurrency issues and make the code harder to reason about.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category