Re:Why I’m not leaving Python for Go
by kisielk on Sunday September 23, 2012 @11:11PM
(#4563036)
In Go if you use the return value of a function you must also assign the error to something, either a variable or explicitly ignore it by assigning it to _. It was designed this way specifically to avoid the problem of not checking error conditions in C code.
[ Parent
| on HN ]