Re:Go Developer Survey 2022 Q2 Results
by bheadmaster on Thursday September 08, 2022 @01:37PM
(#32768890)
You are right. I forgot about that case.
Perhaps variable re-declarations (via := operator) would be a good addition to Go. Compiler could optimize the code to re-use the variables when possible, but the semantics of the language would force the programmer to handle each and every error.
Perhaps variable re-declarations (via := operator) would be a good addition to Go. Compiler could optimize the code to re-use the variables when possible, but the semantics of the language would force the programmer to handle each and every error.