3 - go encourages a return type of
4 foo, err = func(whatever)
6 but that is wrong because you want to return 'foo' *or* an
8 We almost want a type that is like boolean but contains
10 So if the response is treated like that type no exception
11 is thrown, else it is.
13 if err func(asdad) ....
16 myvar = int_func(asdf)
18 The big thing we want to avoid here is deep nesting
19 for a sequence of failable. Would goto work?
21 a = func(sss) on_err label;
28 once an error happens, nothing depending on the error
31 - it is really nice if extra statements and clauses can always be added
32 with no syntax fiddling.
33 For statements, that means always have braketing:
38 adding statement2 is just a oneline change.
67 Probably best compromise is