|
|
|
|
|
by concede_pluto
3216 days ago
|
|
In Go, if you call three functions you need to repeat the x, err := do_something()
if err != nil {
return nil, err
}
ceremony three times. In Java it happens by default, because the language designers agreed this is by far the most common case.Ignoring an error is almost always a serious mistake, so the fact that Go makes it easy and not blatant is not a good thing. |
|