On Mon, Apr 24, 2017 at 4:39 PM wrote:
> Any thoughts?
Yes. In the second version there is something that can be withdrawn. The
special case of handling an error value, which is just an interface value
like many other interface values. Getting rid of that special case and the
Perfection is attained, not when there is nothing more to add, but when
there is nothing more to be withdrawn.
somehow relates to https://www.youtube.com/watch?v=rFejpH_tAHM
If i just try to think to apply it to this code sample
func getCwd() (string, error) {
cwd, err := os.Getwd()