by mjfs · 7y ago · 0 comments
Yes, less repetition and more
x, err := dostuff();
if err!=nil { return nil, err; }
y, err := otherstuff(x);
if err!=nil { return nil, err; }
z, err := morestuff(y);
if err!=nil { return nil, err; }
w, err := alsodo(x,y);
if err!=nil { return nil, err; }
Truly an excellent design.