2 ms·
Because go is very used in data plumbing code, i found that many functions can actually work fine at the byte array level, and that it leads to a better design
by bsaul 7y ago
Because go is very used in data plumbing code, i found that many functions can actually work fine at the byte array level, and that it leads to a better design.
It would be very tempting with proper generic support to try to have every function work with the topmost types, just because we assume it provides more type safety. I could imagine a struct representing a "User" byte array, or other atrocities.