4 ms·
I don't think it is beautiful. This fills program with lots of unnecessary `if`s for checking results of each call. Also, it prevents one from chaining function
by codedokode 9y ago
I don't think it is beautiful. This fills program with lots of unnecessary `if`s for checking results of each call. Also, it prevents one from chaining functions like a(b(x)).
- fiatjaf 9y agoYeah, you're right. Not beautiful and prevents chaining. But works like a charm, don't you think? Chaining functions is for functional people. Go is proudly imperative.