3 ms·
It's just sugar but it's less code and I find it easy to read at least in go.
by mmargerum 9y ago
It's just sugar but it's less code and I find it easy to read at least in go.
- abritinthebay 9y agoIt’s not really less code though. It’s about the same but with an syntax that obfuscates where the logic happens. Terse at the usage point yes, but it swaps clarity for brevity. A sometimes useful trade off to be sure but... not sure I’ve seen any demonstration of benefits here.