Saved Bookmarks
| 1. |
Is the usage of Global Variables in programs implementing goroutines recommended? |
|
Answer» Using global VARIABLES in GOROUTINES is not RECOMMENDED because it can be accessed and modified by multiple goroutines concurrently. This can lead to UNEXPECTED and ARBITRARY results. |
|