DEV Community

Discussion on: Constants in Go.

Collapse
 
dineshbhagat profile image
DB

One more thing I would like to point out,
If you have an unused variable in a program, the compiler throws an error saying "Unused variable" but not for an unused Constants.